You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2022/03/05 07:39:54 UTC
[apisix-helm-chart] branch master updated: feat: add podAnnotations (#246)
This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new cad35ec feat: add podAnnotations (#246)
cad35ec is described below
commit cad35eceb4e21e6e23ca7cd221d72798f7ac3601
Author: Guilherme <xg...@mailbox.org>
AuthorDate: Sat Mar 5 07:39:49 2022 +0000
feat: add podAnnotations (#246)
---
charts/apisix-ingress-controller/templates/deployment.yaml | 3 +++
charts/apisix-ingress-controller/values.yaml | 2 ++
2 files changed, 5 insertions(+)
diff --git a/charts/apisix-ingress-controller/templates/deployment.yaml b/charts/apisix-ingress-controller/templates/deployment.yaml
index b3567ba..95c173b 100644
--- a/charts/apisix-ingress-controller/templates/deployment.yaml
+++ b/charts/apisix-ingress-controller/templates/deployment.yaml
@@ -31,6 +31,9 @@ spec:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
+ {{- with .Values.podAnnotations }}
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
labels:
{{- include "apisix-ingress-controller.selectorLabels" . | nindent 8 }}
spec:
diff --git a/charts/apisix-ingress-controller/values.yaml b/charts/apisix-ingress-controller/values.yaml
index bb25fc0..bd92b8f 100644
--- a/charts/apisix-ingress-controller/values.yaml
+++ b/charts/apisix-ingress-controller/values.yaml
@@ -44,6 +44,8 @@ image:
pullPolicy: IfNotPresent
tag: "1.4.0"
+podAnnotations: {}
+
imagePullSecrets: []
clusterDomain: cluster.local