Skip to content

Commit

Permalink
Moved sync-wave annotations to StatefulSet level
Browse files Browse the repository at this point in the history
  • Loading branch information
olof committed Oct 23, 2024
1 parent d60313a commit 923ee95
Show file tree
Hide file tree
Showing 3 changed files with 9 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.17
version: 0.2.18
appVersion: "1.0"

maintainers:
Expand Down
4 changes: 4 additions & 0 deletions charts/enactor-pdp/templates/statefulset-pdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ metadata:
namespace: {{ $root.Release.Namespace }}
labels:
{{- include "common.selectorLabels" $root | nindent 4 }}
annotations:
{{- if $root.Values.features.argocdSyncwaves.enabled }}
argocd.argoproj.io/sync-wave: {{ $root.Values.features.argocdSyncwaves.waves.pdc | default 20 | quote }}
{{- end }}
spec:
selector:
matchLabels:
Expand Down
4 changes: 4 additions & 0 deletions charts/enactor-pdp/templates/statefulset-pdp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ metadata:
namespace: {{ $root.Release.Namespace }}
labels:
{{- include "common.selectorLabels" $root | nindent 4 }}
annotations:
{{- if $root.Values.features.argocdSyncwaves.enabled }}
argocd.argoproj.io/sync-wave: {{ $root.Values.features.argocdSyncwaves.waves.pdp | default 10 | quote }}
{{- end }}
spec:
selector:
matchLabels:
Expand Down

0 comments on commit 923ee95

Please sign in to comment.