Skip to content

Commit

Permalink
feat(datahub-frontend): add checksum annotation for user-secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit-K committed Nov 16, 2023
1 parent 6311fce commit 9b487bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
repository: file://./subcharts/datahub-gms
condition: datahub-gms.enabled
- name: datahub-frontend
version: 0.2.145
version: 0.2.146
repository: file://./subcharts/datahub-frontend
condition: datahub-frontend.enabled
- name: datahub-mae-consumer
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub/subcharts/datahub-frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.2.145
version: 0.2.146
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v0.11.0
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ spec:
{{- include "datahub-frontend.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
{{- if or .Values.podAnnotations .Values.defaultUserCredentials }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- if .Values.defaultUserCredentials }}
checksum/secret: {{ include (print $.Template.BasePath "/user-secrets.yaml") . | sha256sum }}
{{- end }}
{{- end }}
labels:
{{- include "datahub-frontend.selectorLabels" . | nindent 8 }}
{{- range $key, $value := .Values.global.podLabels }}
Expand Down

0 comments on commit 9b487bd

Please sign in to comment.