From 38b12ea15476c415fcb66624a935315d94f6c500 Mon Sep 17 00:00:00 2001 From: Pierce Lopez Date: Tue, 28 Feb 2023 01:51:21 -0500 Subject: [PATCH] fix podAnnotations usage in templates now following the pattern already used for ingress and service annotations and bump chart version to 0.0.8 --- charts/nsq/Chart.yaml | 2 +- charts/nsq/templates/nsqadmin-deployment.yaml | 1 + charts/nsq/templates/nsqd-statefulset.yaml | 1 + charts/nsq/templates/nsqlookupd-statefulset.yaml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/nsq/Chart.yaml b/charts/nsq/Chart.yaml index 8471152..af68920 100644 --- a/charts/nsq/Chart.yaml +++ b/charts/nsq/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nsq description: A realtime distributed messaging platform type: application -version: 0.0.7 +version: 0.0.8 appVersion: 1.2.1 home: https://github.com/nsqio/helm-chart/tree/master/charts/nsq icon: https://nsq.io/static/img/nsq_blue.png diff --git a/charts/nsq/templates/nsqadmin-deployment.yaml b/charts/nsq/templates/nsqadmin-deployment.yaml index 0cedac4..b8f8c93 100644 --- a/charts/nsq/templates/nsqadmin-deployment.yaml +++ b/charts/nsq/templates/nsqadmin-deployment.yaml @@ -13,6 +13,7 @@ spec: template: metadata: {{- with .Values.nsqadmin.podAnnotations }} + annotations: {{- toYaml . | nindent 8 }} {{- end }} labels: diff --git a/charts/nsq/templates/nsqd-statefulset.yaml b/charts/nsq/templates/nsqd-statefulset.yaml index f609b0b..5c26e27 100644 --- a/charts/nsq/templates/nsqd-statefulset.yaml +++ b/charts/nsq/templates/nsqd-statefulset.yaml @@ -15,6 +15,7 @@ spec: template: metadata: {{- with .Values.nsqd.podAnnotations }} + annotations: {{- toYaml . | nindent 8 }} {{- end }} labels: diff --git a/charts/nsq/templates/nsqlookupd-statefulset.yaml b/charts/nsq/templates/nsqlookupd-statefulset.yaml index 4da1652..2433ffb 100644 --- a/charts/nsq/templates/nsqlookupd-statefulset.yaml +++ b/charts/nsq/templates/nsqlookupd-statefulset.yaml @@ -15,6 +15,7 @@ spec: template: metadata: {{- with .Values.nsqlookupd.podAnnotations }} + annotations: {{- toYaml . | nindent 8 }} {{- end }} labels: