Skip to content

Commit

Permalink
Reverted removal of sync-wave from template level
Browse files Browse the repository at this point in the history
  • Loading branch information
olof committed Oct 23, 2024
1 parent 4342901 commit 0ac37ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/enactor-pdp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Enactor PDP-server

type: application

version: 0.2.19
version: 0.2.20
appVersion: "1.0"

maintainers:
Expand Down
3 changes: 3 additions & 0 deletions charts/enactor-pdp/templates/statefulset-pdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
{{- include "common.selectorLabels" $root | nindent 8 }}
annotations:
checksum/config: {{ include (print $basepath "/configmap-pdc.yaml") $root | sha256sum }}
{{- if $root.Values.features.argocdSyncwaves.enabled }}
argocd.argoproj.io/sync-wave: {{ $root.Values.features.argocdSyncwaves.waves.pdc | default 20 | quote }}
{{- end }}
spec:
terminationGracePeriodSeconds: 15
serviceAccountName: {{ include "pdc.serviceAccountName" $root }}
Expand Down
3 changes: 3 additions & 0 deletions charts/enactor-pdp/templates/statefulset-pdp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
{{- include "common.selectorLabels" $root | nindent 8 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap-pdp.yaml") $root | sha256sum }}
{{- if $root.Values.features.argocdSyncwaves.enabled }}
argocd.argoproj.io/sync-wave: {{ $root.Values.features.argocdSyncwaves.waves.pdp | default 10 | quote }}
{{- end }}
spec:
terminationGracePeriodSeconds: 15
serviceAccountName: {{ include "pdp.serviceAccountName" $root }}
Expand Down

0 comments on commit 0ac37ef

Please sign in to comment.