coredns: allow to customize service name (#12951)

This commit is contained in:
Max Gautier
2026-02-06 04:22:29 +00:00
committed by GitHub
parent 9bbef44e32
commit 3aa0c0cc64
2 changed files with 2 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: coredns{{ coredns_ordinal_suffix }}
name: {{ coredns_svc_name }}{{ coredns_ordinal_suffix }}
namespace: kube-system
labels:
k8s-app: kube-dns{{ coredns_ordinal_suffix }}