Add a ConfigMap
This commit is contained in:
parent
2417429953
commit
af77b895e0
9
kustomize/app/cm.yaml
Normal file
9
kustomize/app/cm.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: toy-cm
|
||||
namespace: toy
|
||||
data:
|
||||
CAT: pancake
|
||||
|
@ -4,6 +4,7 @@ kind: Kustomization
|
||||
namespace: toy
|
||||
resources:
|
||||
- secret.yaml
|
||||
- cm.yaml
|
||||
- rollout.yaml
|
||||
- services.yaml
|
||||
- ingress.yaml
|
||||
|
@ -41,6 +41,9 @@ spec:
|
||||
name: toy-session-secret
|
||||
key: session_secret
|
||||
optional: true
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: toy-cm
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /livez
|
||||
|
Loading…
Reference in New Issue
Block a user