diff --git a/deploy/helm/sumologic/templates/setup/setup-clusterrole.yaml b/deploy/helm/sumologic/templates/setup/setup-clusterrole.yaml index 0a8623b97a..6a64ccbc97 100644 --- a/deploy/helm/sumologic/templates/setup/setup-clusterrole.yaml +++ b/deploy/helm/sumologic/templates/setup/setup-clusterrole.yaml @@ -5,6 +5,7 @@ metadata: name: {{ template "sumologic.fullname" . }}-setup annotations: "helm.sh/hook": pre-install + "helm.sh/hook-weight": "1" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded labels: app: {{ template "sumologic.labels.app" . }} diff --git a/deploy/helm/sumologic/templates/setup/setup-clusterrolebinding.yaml b/deploy/helm/sumologic/templates/setup/setup-clusterrolebinding.yaml index fcda06f9cf..613f1077e6 100644 --- a/deploy/helm/sumologic/templates/setup/setup-clusterrolebinding.yaml +++ b/deploy/helm/sumologic/templates/setup/setup-clusterrolebinding.yaml @@ -5,6 +5,7 @@ metadata: name: {{ template "sumologic.fullname" . }}-setup annotations: "helm.sh/hook": pre-install + "helm.sh/hook-weight": "2" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded labels: app: {{ template "sumologic.labels.app" . }} diff --git a/deploy/helm/sumologic/templates/setup/setup-job.yaml b/deploy/helm/sumologic/templates/setup/setup-job.yaml index 53f269a1b8..9a91c31435 100644 --- a/deploy/helm/sumologic/templates/setup/setup-job.yaml +++ b/deploy/helm/sumologic/templates/setup/setup-job.yaml @@ -6,6 +6,7 @@ metadata: namespace: {{ .Release.Namespace }} annotations: "helm.sh/hook": pre-install + "helm.sh/hook-weight": "3" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded labels: app: {{ template "sumologic.labels.app" . }} diff --git a/deploy/helm/sumologic/templates/setup/setup-serviceaccount.yaml b/deploy/helm/sumologic/templates/setup/setup-serviceaccount.yaml index 28e2c03de1..10bf122bc2 100644 --- a/deploy/helm/sumologic/templates/setup/setup-serviceaccount.yaml +++ b/deploy/helm/sumologic/templates/setup/setup-serviceaccount.yaml @@ -5,6 +5,7 @@ metadata: name: {{ template "sumologic.fullname" . }}-setup annotations: "helm.sh/hook": pre-install + "helm.sh/hook-weight": "0" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded labels: app: {{ template "sumologic.labels.app" . }}