Skip to content

Commit

Permalink
Merge pull request #534 from trevorbox/operators-installer-gitops-fix
Browse files Browse the repository at this point in the history
fix problem with OperatorGroup invalid spec (when using gitops)
  • Loading branch information
ckavili authored Jun 24, 2024
2 parents 9266640 + ddcdf1e commit c463591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/operators-installer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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: 3.0.0
version: 3.0.1

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

Expand Down
2 changes: 2 additions & 0 deletions charts/operators-installer/templates/OperatorGroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
{{- include "operators-installer.labels" $ | nindent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "-50"
{{- if or .targetOwnNamespace .otherTargetNamespaces }}
spec:
targetNamespaces:
{{- if .targetOwnNamespace }}
Expand All @@ -19,3 +20,4 @@ spec:
- {{ $otherTargetNamespace }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit c463591

Please sign in to comment.