Skip to content

Commit 11d155a

Browse files
committed
Move backend secret checksum to annotation
1 parent 7349987 commit 11d155a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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.1
5+
version: 0.1.2
66
appVersion: 0.0.26
77
dependencies:
88
- name: common

charts/backend/templates/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ spec:
1212
{{- include "common.labels.matchLabels" $ | nindent 6 }}
1313
template:
1414
metadata:
15+
annotations:
16+
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
1517
labels:
1618
{{- include "common.labels.standard" $ | nindent 8 }}
17-
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
1819
spec:
1920
{{- if .Values.serviceAccount.create }}
2021
serviceAccountName: {{ include "common.names.fullname" $ }}

0 commit comments

Comments
 (0)