diff --git a/charts/argocd-operator/Chart.yaml b/charts/argocd-operator/Chart.yaml index d68101b3..d4e84042 100644 --- a/charts/argocd-operator/Chart.yaml +++ b/charts/argocd-operator/Chart.yaml @@ -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.4 +version: 0.0.5 home: https://github.com/rht-labs/helm-charts maintainers: - name: springdo diff --git a/charts/argocd-operator/templates/PrometheusSubscription.yaml b/charts/argocd-operator/templates/PrometheusSubscription.yaml new file mode 100644 index 00000000..fa5305ac --- /dev/null +++ b/charts/argocd-operator/templates/PrometheusSubscription.yaml @@ -0,0 +1,14 @@ +--- +{{- if .Values.metrics.enabled }} +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + name: prometheus-operator +spec: + channel: beta + installPlanApproval: Automatic + name: prometheus + source: community-operators + sourceNamespace: openshift-marketplace + startingCSV: {{ .Values.metrics.prometheus.version | quote }} +{{- end }} \ No newline at end of file