Skip to content

Commit

Permalink
Merge pull request #38 from T-Systems-MMS/static_site_annotations
Browse files Browse the repository at this point in the history
Static site annotations
  • Loading branch information
habr-mms authored Aug 11, 2022
2 parents e237fa1 + dfe3672 commit 6324282
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion static_site/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
apiVersion: v1
name: static_site
description: Static site Configuration
version: 0.0.1
version: 0.1.1
4 changes: 4 additions & 0 deletions static_site/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions static_site/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ service:
- protocol: TCP
port: 80
deployment:
template:
annotations: {}
containers:
imagePullPolicy: "IfNotPresent"
resources:
Expand Down

0 comments on commit 6324282

Please sign in to comment.