From b3ad25d6e54e9519e3298fee13b32d581736c4f5 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Thu, 27 Mar 2025 14:51:41 +0800 Subject: [PATCH] fix: update config file paths in config-checksum annotations for deployment templates Signed-off-by: zhenyus --- .../authentication/templates/authentication/deployment.yaml | 2 +- .../centralStorage/templates/central-storage/deployment.yaml | 2 +- freeleaps/helm-pkg/chat/templates/chat/deployment.yaml | 2 +- freeleaps/helm-pkg/content/templates/content/deployment.yaml | 2 +- freeleaps/helm-pkg/devsvc/templates/devsvc/deployment.yaml | 2 +- .../helm-pkg/freeleaps/templates/freeleaps/deployment.yaml | 2 +- freeleaps/helm-pkg/frontend/templates/frontend/deployment.yaml | 2 +- .../notification/templates/notification/deployment.yaml | 2 +- freeleaps/helm-pkg/payment/templates/payment/deployment.yaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml index afd93038..45fa2dba 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/authentication-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/authentication/authentication-config.yaml") . | sha256sum }} spec: containers: - name: "authentication" diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml index d20587f7..628a6942 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/central-storage-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/central-storage/central-storage-config.yaml") . | sha256sum }} spec: containers: - name: "central-storage" diff --git a/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml b/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml index 2f7d6d64..5c525303 100644 --- a/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml +++ b/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/chat-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/chat/chat-config.yaml") . | sha256sum }} spec: containers: - name: "chat" diff --git a/freeleaps/helm-pkg/content/templates/content/deployment.yaml b/freeleaps/helm-pkg/content/templates/content/deployment.yaml index 06383ad5..11fa42ad 100644 --- a/freeleaps/helm-pkg/content/templates/content/deployment.yaml +++ b/freeleaps/helm-pkg/content/templates/content/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/content-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/content/content-config.yaml") . | sha256sum }} spec: containers: - name: "content" diff --git a/freeleaps/helm-pkg/devsvc/templates/devsvc/deployment.yaml b/freeleaps/helm-pkg/devsvc/templates/devsvc/deployment.yaml index 5d4d56f1..ca916d1b 100644 --- a/freeleaps/helm-pkg/devsvc/templates/devsvc/deployment.yaml +++ b/freeleaps/helm-pkg/devsvc/templates/devsvc/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/devsvc-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/devsvc/devsvc-config.yaml") . | sha256sum }} spec: containers: - name: "devsvc" diff --git a/freeleaps/helm-pkg/freeleaps/templates/freeleaps/deployment.yaml b/freeleaps/helm-pkg/freeleaps/templates/freeleaps/deployment.yaml index bd7e0bc2..4a781034 100644 --- a/freeleaps/helm-pkg/freeleaps/templates/freeleaps/deployment.yaml +++ b/freeleaps/helm-pkg/freeleaps/templates/freeleaps/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/freeleaps-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/freeleaps/freeleaps-config.yaml") . | sha256sum }} spec: containers: - name: "freeleaps" diff --git a/freeleaps/helm-pkg/frontend/templates/frontend/deployment.yaml b/freeleaps/helm-pkg/frontend/templates/frontend/deployment.yaml index 7ff16032..8f8209e1 100644 --- a/freeleaps/helm-pkg/frontend/templates/frontend/deployment.yaml +++ b/freeleaps/helm-pkg/frontend/templates/frontend/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/frontend-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/frontend/frontend-config.yaml") . | sha256sum }} spec: containers: - name: "frontend" diff --git a/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml b/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml index 7e27ba60..f1806b48 100644 --- a/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml +++ b/freeleaps/helm-pkg/notification/templates/notification/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/notification-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/notification/notification-config.yaml") . | sha256sum }} spec: containers: - name: "notification" diff --git a/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml b/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml index d62ad72b..83849032 100644 --- a/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml +++ b/freeleaps/helm-pkg/payment/templates/payment/deployment.yaml @@ -24,7 +24,7 @@ spec: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} annotations: - app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/payment-config.yaml") . | sha256sum }} + app.kubernetes.io/config-checksum: {{ include (print $.Template.BasePath "/payment/payment-config.yaml") . | sha256sum }} spec: containers: - name: "payment"