Created
January 15, 2022 15:19
-
-
Save parisnakitakejser/37d5a577521b271ed63d402c9942de50 to your computer and use it in GitHub Desktop.
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/v1 | |
kind: Deployment | |
metadata: | |
name: dynamic-env-test | |
spec: | |
replicas: 3 | |
template: | |
spec: | |
containers: | |
- name: pods-dynamic-env-test | |
image: parisnk/flask-test:v1.0.0 | |
env: | |
- name: SERVICE_NAME | |
valueFrom: | |
secretKeyRef: | |
name: test-env-secret | |
key: SERVICE_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment