pod updates when config updates, configmap reads from config yaml

This commit is contained in:
ducoterra
2020-12-16 10:46:35 -05:00
parent e24c14b189
commit 765b006285
5 changed files with 21 additions and 119 deletions

View File

@@ -2,6 +2,8 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
selector:
matchLabels: