Skip to content

Commit b3f5b8c

Browse files
authored
Merge pull request #4 from alex-berger/feature/sa-annotations
2 parents 3bac534 + 3105848 commit b3f5b8c

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

stable/coredns/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.14.0
3+
version: 1.14.1
44
appVersion: 1.8.0
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png

stable/coredns/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ spec:
3939
{{- end }}
4040
app.kubernetes.io/name: {{ template "coredns.name" . }}
4141
app.kubernetes.io/instance: {{ .Release.Name | quote }}
42-
{{- if .Values.customLabels }}
43-
{{ toYaml .Values.customLabels }}
44-
{{- end }}
42+
{{- if .Values.customLabels }}
43+
{{ toYaml .Values.customLabels | indent 8 }}
44+
{{- end }}
4545
annotations:
4646
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
4747
{{- if .Values.isClusterService }}

stable/coredns/templates/serviceaccount.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ metadata:
1313
kubernetes.io/name: "CoreDNS"
1414
{{- end }}
1515
app.kubernetes.io/name: {{ template "coredns.name" . }}
16+
{{- with .Values.serviceAccount.annotations }}
17+
annotations:
18+
{{- toYaml . | nindent 4 }}
19+
{{- end }}
1620
{{- end }}

stable/coredns/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ serviceAccount:
7070
# The name of the ServiceAccount to use
7171
# If not set and create is true, a name is generated using the fullname template
7272
name:
73+
annotations: {}
7374

7475
rbac:
7576
# If true, create & use RBAC resources

0 commit comments

Comments
 (0)