From 0d60d84ff2a503491c3862e3da7e01cc815e8d9b Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Wed, 31 Jan 2024 16:52:26 -0500 Subject: [PATCH] fix: switch cm to podmonitor Signed-off-by: Devin Buhl --- .../cert-manager/cert-manager/app/helmrelease.yaml | 11 +++++------ .../cert-manager/cert-manager/app/helmrelease.yaml | 8 ++++++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/kubernetes/main/apps/cert-manager/cert-manager/app/helmrelease.yaml b/kubernetes/main/apps/cert-manager/cert-manager/app/helmrelease.yaml index 28f2af4caf91c..83d1fd97c48a8 100644 --- a/kubernetes/main/apps/cert-manager/cert-manager/app/helmrelease.yaml +++ b/kubernetes/main/apps/cert-manager/cert-manager/app/helmrelease.yaml @@ -24,8 +24,8 @@ spec: uninstall: keepHistory: false values: - replicaCount: 2 installCRDs: true + replicaCount: 2 dns01RecursiveNameservers: 1.1.1.1:53,9.9.9.9:53 dns01RecursiveNameserversOnly: true podDnsPolicy: None @@ -33,12 +33,11 @@ spec: nameservers: - "1.1.1.1" - "9.9.9.9" - prometheus: - enabled: true - servicemonitor: - enabled: true - prometheusInstance: observability webhook: replicaCount: 2 cainjector: replicaCount: 2 + prometheus: + enabled: true + podmonitor: + enabled: true diff --git a/kubernetes/storage/apps/cert-manager/cert-manager/app/helmrelease.yaml b/kubernetes/storage/apps/cert-manager/cert-manager/app/helmrelease.yaml index 0d5c23e48cf5e..83d1fd97c48a8 100644 --- a/kubernetes/storage/apps/cert-manager/cert-manager/app/helmrelease.yaml +++ b/kubernetes/storage/apps/cert-manager/cert-manager/app/helmrelease.yaml @@ -25,6 +25,7 @@ spec: keepHistory: false values: installCRDs: true + replicaCount: 2 dns01RecursiveNameservers: 1.1.1.1:53,9.9.9.9:53 dns01RecursiveNameserversOnly: true podDnsPolicy: None @@ -32,8 +33,11 @@ spec: nameservers: - "1.1.1.1" - "9.9.9.9" + webhook: + replicaCount: 2 + cainjector: + replicaCount: 2 prometheus: enabled: true - servicemonitor: + podmonitor: enabled: true - prometheusInstance: observability