Skip to content

Commit

Permalink
Merge pull request #350 from itewk/feature/operators-installer-fix7
Browse files Browse the repository at this point in the history
operators installer argo sync fixes
  • Loading branch information
ckavili committed Jul 19, 2023
2 parents ddf510f + 60f5bbe commit e961e6d
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ For more info on each chart checkout these!
* [network-policy](/charts/network-policy)
* [openshift-logforwarding-splunk](/charts/openshift-logforwarding-splunk)
* [operatorhub](/charts/operatorhub)
* [operators-installer](/charts/operators-installer)
* [owncloud](/charts/owncloud)
* [pact-broker](/charts/pact-broker)
* [ploigos](/charts/ploigos)
Expand Down
2 changes: 1 addition & 1 deletion charts/operators-installer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.3.1
version: 2.3.2

home: https://github.com/redhat-cop/helm-charts

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
"helm.sh/hook-weight": "20"
{{- else }}
argocd.argoproj.io/sync-wave: "20"
argocd.argoproj.io/sync-wave: "-20"
{{- end }}
spec:
completions: 1
parallelism: 1
backoffLimit: {{ .installPlanApproverRetries | default 10 }}
activeDeadlineSeconds: {{ .installPlanApproverActiveDeadlineSeconds | default 120 }}
activeDeadlineSeconds: {{ .installPlanApproverActiveDeadlineSeconds | default 240 }}
template:
spec:
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
"helm.sh/hook-weight": "30"
{{- else }}
argocd.argoproj.io/sync-wave: "30"
argocd.argoproj.io/sync-wave: "-10"
{{- end }}
spec:
completions: 1
parallelism: 1
backoffLimit: {{ .installPlanVerifierRetries | default 10 }}
activeDeadlineSeconds: {{ .installPlanVerifierActiveDeadlineSeconds | default 120 }}
activeDeadlineSeconds: {{ .installPlanVerifierActiveDeadlineSeconds | default 240 }}
template:
spec:
containers:
Expand Down
2 changes: 2 additions & 0 deletions charts/operators-installer/templates/Namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ metadata:
name: {{ .name | default $.Release.Namespace }}
labels:
{{- include "operators-installer.labels" $ | nindent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "-60"
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/operators-installer/templates/OperatorGroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
namespace: {{ .name | default $.Release.Namespace }}
labels:
{{- include "operators-installer.labels" $ | nindent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "-50"
spec:
targetNamespaces:
{{- if .targetOwnNamespace }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
"helm.sh/hook-weight": "10"
{{- else }}
argocd.argoproj.io/sync-wave: "10"
argocd.argoproj.io/sync-wave: "-30"
{{- end }}
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
"helm.sh/hook-weight": "10"
{{- else }}
argocd.argoproj.io/sync-wave: "10"
argocd.argoproj.io/sync-wave: "-30"
{{- end }}
rules:
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
"helm.sh/hook-weight": "10"
{{- else }}
argocd.argoproj.io/sync-wave: "10"
argocd.argoproj.io/sync-wave: "-30"
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/operators-installer/templates/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
namespace: {{ .namespace | default $.Release.Namespace }}
labels:
{{- include "operators-installer.labels" $ | nindent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "-40"
spec:
channel: {{ .channel }}
installPlanApproval: {{ .installPlanApproval }}
Expand Down

0 comments on commit e961e6d

Please sign in to comment.