diff --git a/stable/coredns/Chart.yaml b/stable/coredns/Chart.yaml index a0ef0e1..0eed35c 100644 --- a/stable/coredns/Chart.yaml +++ b/stable/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: coredns -version: 1.14.3 +version: 1.15.0 appVersion: 1.8.0 home: https://coredns.io icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png diff --git a/stable/coredns/templates/service.yaml b/stable/coredns/templates/service.yaml index 0ca5edf..2288eec 100644 --- a/stable/coredns/templates/service.yaml +++ b/stable/coredns/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ template "coredns.fullname" . }} + name: {{ default (include "coredns.fullname" .) .Values.service.name }} labels: app.kubernetes.io/managed-by: {{ .Release.Service | quote }} app.kubernetes.io/instance: {{ .Release.Name | quote }} diff --git a/stable/coredns/values.yaml b/stable/coredns/values.yaml index 8184f9a..e5cc46e 100644 --- a/stable/coredns/values.yaml +++ b/stable/coredns/values.yaml @@ -63,13 +63,16 @@ service: # loadBalancerIP: "" # externalIPs: [] # externalTrafficPolicy: "" + # The name of the Service + # If not set, a name is generated using the fullname template + name: "" annotations: {} serviceAccount: create: false # The name of the ServiceAccount to use # If not set and create is true, a name is generated using the fullname template - name: + name: "" annotations: {} rbac: