Skip to content

Commit

Permalink
update job hook
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-dubnik committed Oct 1, 2021
1 parent 6302e0d commit c4fe75e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/temporal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ 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.12.4
version: 0.12.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
8 changes: 4 additions & 4 deletions charts/temporal/templates/server-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ metadata:
app.kubernetes.io/component: database
app.kubernetes.io/part-of: {{ .Chart.Name }}
annotations:
{{- if .Values.cassandra.enabled }}
"helm.sh/hook": post-install,pre-upgrade
{{- else }}
# {{- if .Values.cassandra.enabled }}
# "helm.sh/hook": post-install,pre-upgrade
# {{- else }}
"helm.sh/hook": pre-install,pre-upgrade
{{- end }}
# {{- end }}
"helm.sh/hook-weight": "1"
{{- if not .Values.debug }}
"helm.sh/hook-delete-policy": hook-succeeded,hook-failed
Expand Down

0 comments on commit c4fe75e

Please sign in to comment.