feat(argo-cd): make ServiceMonitor deployment conditional on CRD existence (#2154)
* made ServiceMonitor deployment conditional on CRD existence Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com> * remove non ArgoCD changes Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com> * add newline Signed-off-by: Alex Souslik <alex.s@hiredscore.com> * Change chage description Signed-off-by: Alex Souslik <alex.s@hiredscore.com> * Update charts/argo-cd/Chart.yaml Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Signed-off-by: Alex Souslik <alex.s@hiredscore.com> --------- Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com> Signed-off-by: Alex Souslik <alex.s@hiredscore.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
afccb2e5d4
commit
c2f813ec62
8 changed files with 9 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{- if and .Values.controller.metrics.enabled .Values.controller.metrics.serviceMonitor.enabled }}
|
||||
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.controller.metrics.enabled .Values.controller.metrics.serviceMonitor.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue