From 45f3be42a7479b5547339ea0a51653e7113a3f12 Mon Sep 17 00:00:00 2001 From: Ryan VanGundy Date: Sun, 23 Mar 2025 20:26:14 -0400 Subject: [PATCH] Adjust external-dns and reduce etcd replicas --- kustomize/dns/coredns/etcd/ha/patches/helm-release.yaml | 1 + kustomize/dns/coredns/etcd/helm-release.yaml | 6 ++---- .../dns/external-dns/coredns/patches/helm-release.yaml | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kustomize/dns/coredns/etcd/ha/patches/helm-release.yaml b/kustomize/dns/coredns/etcd/ha/patches/helm-release.yaml index d44aee22..83be0d6f 100644 --- a/kustomize/dns/coredns/etcd/ha/patches/helm-release.yaml +++ b/kustomize/dns/coredns/etcd/ha/patches/helm-release.yaml @@ -5,6 +5,7 @@ metadata: namespace: system-dns spec: values: + replicaCount: 3 affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: diff --git a/kustomize/dns/coredns/etcd/helm-release.yaml b/kustomize/dns/coredns/etcd/helm-release.yaml index bcec714c..8009c383 100644 --- a/kustomize/dns/coredns/etcd/helm-release.yaml +++ b/kustomize/dns/coredns/etcd/helm-release.yaml @@ -15,10 +15,8 @@ spec: kind: HelmRepository name: coredns-etcd-bitnami namespace: system-gitops - values: - # global: - # storageClass: single - replicaCount: 3 + values: + replicaCount: 1 securityContext: fsGroup: 1000 # Modifies the liveness probe to behave like the other probes. Endpoint healthchecks with mTLS are not supported by k8s. diff --git a/kustomize/dns/external-dns/coredns/patches/helm-release.yaml b/kustomize/dns/external-dns/coredns/patches/helm-release.yaml index 87e40864..1f256c16 100644 --- a/kustomize/dns/external-dns/coredns/patches/helm-release.yaml +++ b/kustomize/dns/external-dns/coredns/patches/helm-release.yaml @@ -5,7 +5,8 @@ namespace: system-dns - op: add path: /spec/values/provider - value: coredns + value: + name: coredns - op: add path: /spec/values/env/- value: