Add a ConfigMap
All checks were successful
Gitea Actions Demo / lint (push) Successful in 1m21s
Gitea Actions Demo / test (push) Successful in 1m21s
Gitea Actions Demo / release-image (push) Successful in 1m3s

This commit is contained in:
Ryan Cavicchioni 2024-08-18 01:35:47 -05:00
parent 2417429953
commit af77b895e0
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
3 changed files with 13 additions and 0 deletions

9
kustomize/app/cm.yaml Normal file
View File

@ -0,0 +1,9 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: toy-cm
namespace: toy
data:
CAT: pancake

View File

@ -4,6 +4,7 @@ kind: Kustomization
namespace: toy
resources:
- secret.yaml
- cm.yaml
- rollout.yaml
- services.yaml
- ingress.yaml

View File

@ -41,6 +41,9 @@ spec:
name: toy-session-secret
key: session_secret
optional: true
envFrom:
- configMapRef:
name: toy-cm
livenessProbe:
httpGet:
path: /livez