Skip to content

Commit

Permalink
🥰 Added option to enable operator and operatorgroup for argocd-operat…
Browse files Browse the repository at this point in the history
…or 🥰 (#43)

🥰 * Added option to enable operator and operatorgroup for argocd-operator

* Bumped version
  • Loading branch information
garethahealy authored May 1, 2020
1 parent 7ee3701 commit 0956d90
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/argocd-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.5.2
description: A Helm chart for customising the deployment of the ArgoCD Operator ⚓️
name: argocd-operator
version: 0.0.6
version: 0.0.7
home: https://github.com/rht-labs/helm-charts
maintainers:
- name: springdo
Expand Down
4 changes: 4 additions & 0 deletions charts/argocd-operator/templates/OperatorGroup.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{{- if .Values.enabled }}
{{- if .Values.operator }}
{{- if .Values.operator.operatorgroup }}
---
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
Expand All @@ -10,3 +12,5 @@ spec:
targetNamespaces:
- {{ .Values.namespace }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/argocd-operator/templates/Subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if .Values.enabled }}
{{- if .Values.operator }}
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
Expand All @@ -13,3 +14,4 @@ spec:
sourceNamespace: openshift-marketplace
startingCSV: {{ .Values.operator.version | quote }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/argocd-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ operator:
version: argocd-operator.v0.0.8
channel: alpha
name: argocd-operator
operatorgroup: true

# https://argocd-operator.readthedocs.io/en/latest/reference/argocd/
metrics:
Expand Down

0 comments on commit 0956d90

Please sign in to comment.