diff --git a/static_site/templates/deployment.yaml b/static_site/templates/deployment.yaml index a979f43..b236d37 100644 --- a/static_site/templates/deployment.yaml +++ b/static_site/templates/deployment.yaml @@ -18,6 +18,10 @@ spec: metadata: labels: app: {{ .Values.name }} + annotations: + {{- range $key, $value := .Values.deployment.template.annotations }} + {{ $key }}: {{ $value }} + {{- end }} spec: containers: - name: {{ .Values.name }} diff --git a/static_site/values.yaml b/static_site/values.yaml index 48450e9..9e5b73a 100644 --- a/static_site/values.yaml +++ b/static_site/values.yaml @@ -6,6 +6,8 @@ service: - protocol: TCP port: 80 deployment: + template: + annotations: {} containers: imagePullPolicy: "IfNotPresent" resources: