Skip to content

Instantly share code, notes, and snippets.

@ChrisChinchilla
Created June 4, 2020 15:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisChinchilla/0e0fc32d051ca5ab11f16a73d50ab815 to your computer and use it in GitHub Desktop.
Save ChrisChinchilla/0e0fc32d051ca5ab11f16a73d50ab815 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Secret
metadata:
name: postgres-secrets
type: Opaque
data:
POSTGRES_USER: cHJvZHVjdF9yb2JvdA==
POSTGRES_PASSWORD: cHIwZHIwYjB0
@seisvelas
Copy link

This may be intentional, but in case it isn't, just wanted to give you a heads up that you put a database username and password in plaintext here for anyone to see

@ChrisChinchilla
Copy link
Author

Thanks @seisvelas first these are encoded, and secondly they are just dummy text when decoded anyway, but thanks for thinking to ask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment