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

jscheffl pushed a commit to branch chart/v1-2x-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/chart/v1-2x-test by this push:
     new 6397515d706 [chart/v1-2x-test] Add checksum for api-server config in 
API server deployment (#66468) (#66627)
6397515d706 is described below

commit 6397515d706d9eec28d6017353ee6c4543c45a86
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat May 9 19:12:02 2026 +0200

    [chart/v1-2x-test] Add checksum for api-server config in API server 
deployment (#66468) (#66627)
    
    * Add checksum/api-server-config to api-server deployment
    
    The api-server deployment template carries checksum annotations for all
    of its config sources except the api-server ConfigMap rendered from
    `apiServer.apiServerConfig`. Without it, changing `apiServerConfig`
    updates the ConfigMap but does not bump the pod template hash, so no
    rolling restart happens and api-server pods keep the old
    `webserver_config.py` until manually restarted.
    
    Add `checksum/api-server-config`, guarded by the same condition that
    controls whether `configmaps/api-server-configmap.yaml` renders. This
    mirrors the pattern used in #60111 for `checksum/jwt-secret`.
    
    closes: #66467
    
    
    * Add newsfragment for #66468
    
    
    
    * Remove newsfragments (needed only for important changes, not bugfixes)
    
    ---------
    (cherry picked from commit db2c6b18aa1c36aa5873d1d5342f31508bee84d3)
    
    Signed-off-by: Martin Cekada <[email protected]>
    Co-authored-by: Martin Cekada 
<[email protected]>
---
 chart/templates/api-server/api-server-deployment.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/chart/templates/api-server/api-server-deployment.yaml 
b/chart/templates/api-server/api-server-deployment.yaml
index a79b77c7013..73085ae8aea 100644
--- a/chart/templates/api-server/api-server-deployment.yaml
+++ b/chart/templates/api-server/api-server-deployment.yaml
@@ -87,6 +87,9 @@ spec:
         checksum/metadata-secret: {{ include (print $.Template.BasePath 
"/secrets/metadata-connection-secret.yaml") . | sha256sum }}
         checksum/pgbouncer-config-secret: {{ include (print 
$.Template.BasePath "/secrets/pgbouncer-config-secret.yaml") . | sha256sum }}
         checksum/airflow-config: {{ include (print $.Template.BasePath 
"/configmaps/configmap.yaml") . | sha256sum }}
+        {{- if and .Values.apiServer.apiServerConfig (not 
.Values.apiServer.apiServerConfigConfigMapName) }}
+        checksum/api-server-config: {{ include (print $.Template.BasePath 
"/configmaps/api-server-configmap.yaml") . | sha256sum }}
+        {{- end }}
         checksum/extra-configmaps: {{ include (print $.Template.BasePath 
"/configmaps/extra-configmaps.yaml") . | sha256sum }}
         checksum/extra-secrets: {{ include (print $.Template.BasePath 
"/secrets/extra-secrets.yaml") . | sha256sum }}
         {{- if not .Values.jwtSecretName }}

Reply via email to