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
|
namespace: toy
|
||||||
resources:
|
resources:
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
|
- cm.yaml
|
||||||
- rollout.yaml
|
- rollout.yaml
|
||||||
- services.yaml
|
- services.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
@ -41,6 +41,9 @@ spec:
|
|||||||
name: toy-session-secret
|
name: toy-session-secret
|
||||||
key: session_secret
|
key: session_secret
|
||||||
optional: true
|
optional: true
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: toy-cm
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /livez
|
path: /livez
|
||||||
|
Loading…
Reference in New Issue
Block a user