File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : apps/v1
3+ kind : Deployment
4+ metadata :
5+ name : deployments-simple-deployment-with-environment-deployment
6+ spec :
7+ replicas : 2
8+ selector :
9+ matchLabels :
10+ app : deployments-simple-deployment-with-environment-app
11+ template :
12+ metadata :
13+ labels :
14+ app : deployments-simple-deployment-with-environment-app
15+ spec :
16+ containers :
17+ - name : busybox
18+ image : busybox
19+ command :
20+ - sleep
21+ - " 3600"
22+ env :
23+ # Plain Text ENV
24+ - name : DEMO_GREETING
25+ value : " Hello from the environment"
26+ # Load from a secret
27+ - name : DATABASE_PASSWORD
28+ valueFrom :
29+ secretKeyRef :
30+ name : database_secrets
31+ key : password
32+ # Load from a configMap
33+ - name : KAFKA_TOPIC
34+ valueFrom :
35+ configMapKeyRef :
36+ name : kafka_config_map
37+ key : topic
You can’t perform that action at this time.
0 commit comments