Skip to content

Instantly share code, notes, and snippets.

@andrealmar
Created August 27, 2019 19:19
Show Gist options
  • Save andrealmar/2ca383d431e5cc07280095c60970ab5e to your computer and use it in GitHub Desktop.
Save andrealmar/2ca383d431e5cc07280095c60970ab5e to your computer and use it in GitHub Desktop.
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
  name: grafana
  namespace: istio-system
  labels:
    app: grafana
type: Opaque
data:
  username: YWRtaW4=
  passphrase: MTIzNDU2
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment