Skip to content

Commit

Permalink
Merge pull request #4 from alex-berger/feature/sa-annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
haad authored Jan 28, 2021
2 parents 3bac534 + 3105848 commit b3f5b8c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stable/coredns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: coredns
version: 1.14.0
version: 1.14.1
appVersion: 1.8.0
home: https://coredns.io
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
Expand Down
6 changes: 3 additions & 3 deletions stable/coredns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ spec:
{{- end }}
app.kubernetes.io/name: {{ template "coredns.name" . }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
{{- if .Values.customLabels }}
{{ toYaml .Values.customLabels }}
{{- end }}
{{- if .Values.customLabels }}
{{ toYaml .Values.customLabels | indent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.isClusterService }}
Expand Down
4 changes: 4 additions & 0 deletions stable/coredns/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ metadata:
kubernetes.io/name: "CoreDNS"
{{- end }}
app.kubernetes.io/name: {{ template "coredns.name" . }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions stable/coredns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ serviceAccount:
# The name of the ServiceAccount to use
# If not set and create is true, a name is generated using the fullname template
name:
annotations: {}

rbac:
# If true, create & use RBAC resources
Expand Down

0 comments on commit b3f5b8c

Please sign in to comment.