Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d1925b1

Browse filesBrowse files
mikebryantmrueg
authored andcommitted
fix: Add support for customLabels to ServiceAccount
Signed-off-by: Mike Bryant <mike.bryant@mettle.co.uk>
1 parent 053e0e1 commit d1925b1
Copy full SHA for d1925b1

File tree

Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed
Open diff view settings
Collapse file

‎charts/coredns/Chart.yaml‎

Copy file name to clipboardExpand all lines: charts/coredns/Chart.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.43.0
3+
version: 1.43.1
44
appVersion: 1.12.2
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,5 +19,5 @@ maintainers:
1919
type: application
2020
annotations:
2121
artifacthub.io/changes: |
22-
- kind: added
23-
description: Added support for initContainers in the deployment.
22+
- kind: changed
23+
description: ServiceAccount now applies the `customLabels` field if set.
Collapse file

‎charts/coredns/templates/serviceaccount.yaml‎

Copy file name to clipboardExpand all lines: charts/coredns/templates/serviceaccount.yaml
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: {{ template "coredns.serviceAccountName" . }}
66
namespace: {{ .Release.Namespace }}
77
labels: {{- include "coredns.labels" . | nindent 4 }}
8+
{{- if .Values.customLabels }}
9+
{{ toYaml .Values.customLabels | indent 4 }}
10+
{{- end }}
811
{{- if or .Values.serviceAccount.annotations .Values.customAnnotations }}
912
annotations:
1013
{{- if .Values.customAnnotations }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.