From d7d362531fe707dbb442ce8922d4432bcafcdf54 Mon Sep 17 00:00:00 2001 From: David Castellanos Date: Thu, 16 Jan 2025 18:50:47 +0100 Subject: [PATCH 1/2] Use image.tag for app.kubernetes.io/version label if defined Signed-off-by: David Castellanos --- charts/coredns/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/coredns/templates/deployment.yaml b/charts/coredns/templates/deployment.yaml index bc19272..e18e984 100644 --- a/charts/coredns/templates/deployment.yaml +++ b/charts/coredns/templates/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: {{ default (include "coredns.fullname" .) .Values.deployment.name }} namespace: {{ .Release.Namespace }} labels: {{- include "coredns.labels" . | nindent 4 }} - app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} + app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }} {{- if .Values.customLabels }} {{ toYaml .Values.customLabels | indent 4 }} {{- end }} From 5e32886bb738481f4722bbb948eb02ea5110e09b Mon Sep 17 00:00:00 2001 From: David Castellanos Date: Thu, 16 Jan 2025 19:31:33 +0100 Subject: [PATCH 2/2] Bump version to 1.37.2 Signed-off-by: David Castellanos --- charts/coredns/Chart.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index 227091d..c7d4cfc 100644 --- a/charts/coredns/Chart.yaml +++ b/charts/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: coredns -version: 1.37.1 +version: 1.37.2 appVersion: 1.11.4 home: https://coredns.io icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png @@ -19,5 +19,5 @@ maintainers: type: application annotations: artifacthub.io/changes: | - - kind: changed - description: Fixed typo in readme + - kind: fixed + description: Use image.tag for app.kubernetes.io/version label if defined