Skip to content

Instantly share code, notes, and snippets.

@georgegoh
Created November 14, 2017 02:00
Show Gist options
  • Save georgegoh/9df342955d978b93445c21c7e930516f to your computer and use it in GitHub Desktop.
Save georgegoh/9df342955d978b93445c21c7e930516f to your computer and use it in GitHub Desktop.
Export secrets used in the OCP EFK stack
#!/bin/sh
SECRETS="curator curator-ops elasticsearch fluentd kibana kibana-proxy"
for secret in $SECRETS
do
oc export secret logging-$secret > logging-$secret.yaml
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment