Skip to content

Commit 5c6297d

Browse files
committed
Add checksum to backend deployment to force reload with secret update
1 parent 0267aeb commit 5c6297d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

charts/backend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: developer-portal-backend
33
description: A Helm chart for deploying the Diamond developer portal backend
44
type: application
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: 0.0.26
77
dependencies:
88
- name: common

charts/backend/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ spec:
1414
metadata:
1515
labels:
1616
{{- include "common.labels.standard" $ | nindent 8 }}
17+
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
1718
spec:
1819
{{- if .Values.serviceAccount.create }}
1920
serviceAccountName: {{ include "common.names.fullname" $ }}

0 commit comments

Comments
 (0)