Created
November 19, 2017 15:49
-
-
Save xcoulon/cf513f9dc27a0a156c9717bceff219d7 to your computer and use it in GitHub Desktop.
Managing Pod configuration using ConfigMaps and Secrets in Kubernetes (resource for the story on Medium)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: database-secret-config | |
type: Opaque | |
data: | |
dbname: dXJsX3Nob3J0ZW5lcl9kYg== | |
username: dXNlcg== | |
password: bXlzZWNyZXRwYXNzd29yZA== |
ah right, indeed 🤦♂️
well, I guess it's fine, it's just a filename 😉
I followed your command
"kubectl create -f database-secrets.yml"
it can't work :(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe a typo mistake in "databse" and file extension should be yml ?