Skip to content

Commit

Permalink
Add checksum to backend deployment to force reload with secret update
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 6, 2025
1 parent 4b17956 commit ced71a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: developer-portal-backend
description: A Helm chart for deploying the Diamond developer portal backend
type: application
version: 0.1.0
version: 0.1.1
appVersion: 0.0.26
dependencies:
- name: common
Expand Down
1 change: 1 addition & 0 deletions charts/backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
metadata:
labels:
{{- include "common.labels.standard" $ | nindent 8 }}
checksum/secrets: {{ include (print $.Template.BasePath "secrets.yaml") . | sha256sum }}
spec:
{{- if .Values.serviceAccount.create }}
serviceAccountName: {{ include "common.names.fullname" $ }}
Expand Down

0 comments on commit ced71a6

Please sign in to comment.