Created
November 19, 2017 15:47
-
-
Save xcoulon/ddb04afdb8338b36d41d281aaf6c6c04 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: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: postgres | |
spec: | |
... | |
env: | |
- name: POSTGRES_DB | |
value: url_shortener_db | |
- name: POSTGRES_USER | |
value: user | |
- name: POSTGRES_PASSWORD | |
value: mysecretpassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment