This is an automated email from the ASF dual-hosted git repository.

moonming 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 60efe58  feat: add checksum for standalone config (#981)
60efe58 is described below

commit 60efe5831a95e39b539d9ba2b6fdd2342e4c1bf4
Author: Uwe Jäger <[email protected]>
AuthorDate: Mon Nov 9 07:12:30 2026 +0100

    feat: add checksum for standalone config (#981)
    
    Signed-off-by: Uwe Jäger <[email protected]>
---
 .../templates/{apisix-config-cm.yml => apisix-config-cm.yaml}    | 0
 charts/apisix/templates/deployment.yaml                          | 9 ++++++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/charts/apisix/templates/apisix-config-cm.yml 
b/charts/apisix/templates/apisix-config-cm.yaml
similarity index 100%
rename from charts/apisix/templates/apisix-config-cm.yml
rename to charts/apisix/templates/apisix-config-cm.yaml
diff --git a/charts/apisix/templates/deployment.yaml 
b/charts/apisix/templates/deployment.yaml
index e7abaef..602eb69 100644
--- a/charts/apisix/templates/deployment.yaml
+++ b/charts/apisix/templates/deployment.yaml
@@ -38,6 +38,9 @@ spec:
     metadata:
       annotations:
         checksum/config: {{ include (print $.Template.BasePath 
"/configmap.yaml") . | sha256sum }}
+        {{- if and (eq .Values.apisix.deployment.mode "standalone") (not 
.Values.apisix.deployment.standalone.existingConfigMap) }}
+        checksum/standalone-config: {{ include (print $.Template.BasePath 
"/apisix-config-cm.yaml") . | sha256sum }}
+        {{- end }}
         {{- with .Values.podAnnotations }}
         {{ tpl (toYaml .) $ | nindent 8 }}
         {{- end }}
@@ -55,7 +58,7 @@ spec:
       {{- end }}
       serviceAccountName: {{ include "apisix.serviceAccountName" . }}
       {{- with .Values.podSecurityContext }}
-      securityContext: 
+      securityContext:
         {{- . | toYaml | nindent 8 }}
       {{- end }}
       {{- with .Values.priorityClassName }}
@@ -115,7 +118,7 @@ spec:
             - name: http-{{ .port | toString }}
               containerPort: {{ .port }}
               protocol: TCP
-            {{- end }}     
+            {{- end }}
             - name: tls
               containerPort: {{ .Values.apisix.ssl.containerPort }}
               protocol: TCP
@@ -126,7 +129,7 @@ spec:
             - name: tls-{{ .port | toString }}
               containerPort: {{ .port }}
               protocol: TCP
-            {{- end }}     
+            {{- end }}
             {{- if .Values.apisix.admin.enabled }}
             - name: admin
               containerPort: {{ .Values.apisix.admin.port }}

Reply via email to