Skip to content

Commit

Permalink
fix: fix suffix template
Browse files Browse the repository at this point in the history
  • Loading branch information
WitoDelnat committed Dec 16, 2024
1 parent 7691380 commit 9ad5c91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/testkube-cloud-api/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Define containerSecurityContext for Init Container
{{- if .Values.global.job.nameSuffixOverride -}}
{{- tpl .Values.global.job.nameSuffixOverride . -}}
{{- else -}}
{{- printf "%s" .Release.Revision -}}
{{- printf "%d" .Release.Revision -}}
{{- end -}}
{{- end -}}

Expand Down
4 changes: 2 additions & 2 deletions charts/testkube-cloud-api/templates/migrations-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
labels:
{{- include "testkube-cloud-api.labels" . | nindent 4 }}
annotations:
{{- if .Values.api.migrations.useArgoHook }}
"argocd.argoproj.io/hook": "sync"
{{- if .Values.api.migrations.useArgoHooks }}
"argocd.argoproj.io/hook": "Sync"
"argocd.argoproj.io/hook-delete-policy": "BeforeHookCreation"
{{- end }}
spec:
Expand Down

0 comments on commit 9ad5c91

Please sign in to comment.