diff --git a/kustomize/app/cm.yaml b/kustomize/app/cm.yaml new file mode 100644 index 0000000..d9327d3 --- /dev/null +++ b/kustomize/app/cm.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: toy-cm + namespace: toy +data: + CAT: pancake + diff --git a/kustomize/app/kustomization.yaml b/kustomize/app/kustomization.yaml index 2ca103c..d140fc8 100644 --- a/kustomize/app/kustomization.yaml +++ b/kustomize/app/kustomization.yaml @@ -4,6 +4,7 @@ kind: Kustomization namespace: toy resources: - secret.yaml + - cm.yaml - rollout.yaml - services.yaml - ingress.yaml diff --git a/kustomize/app/rollout.yaml b/kustomize/app/rollout.yaml index 05daaf4..f7d1372 100644 --- a/kustomize/app/rollout.yaml +++ b/kustomize/app/rollout.yaml @@ -41,6 +41,9 @@ spec: name: toy-session-secret key: session_secret optional: true + envFrom: + - configMapRef: + name: toy-cm livenessProbe: httpGet: path: /livez