Skip to content

Commit

Permalink
Upgrade CoreDNS component in Helm Chart
Browse files Browse the repository at this point in the history
  • Loading branch information
walbertus authored Jul 27, 2020
1 parent a54e9b3 commit fb506d0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ data:
health
kubernetes {{ default "cluster.local" .Values.clusterDomain }} in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
labels:
k8s-app: coredns
spec:
serviceAccountName: coredns
serviceAccountName: maesh-coredns
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -45,7 +45,7 @@ spec:
beta.kubernetes.io/os: linux
containers:
- name: coredns
image: coredns/coredns:1.6.3
image: coredns/coredns:1.7.0
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
10 changes: 5 additions & 5 deletions helm/chart/maesh/templates/dns/coredns/coredns-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
chart: {{ include "maesh.chartLabel" . | quote }}
release: {{ .Release.Name | quote}}
heritage: {{ .Release.Service | quote}}
name: coredns
name: maesh-coredns-role
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
Expand All @@ -32,21 +32,21 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: maesh-coredns
namespace: {{ .Release.Namespace }}
labels:
kubernetes.io/bootstrapping: rbac-defaults
chart: {{ include "maesh.chartLabel" . | quote }}
release: {{ .Release.Name | quote}}
heritage: {{ .Release.Service | quote}}
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
name: coredns
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: coredns
name: maesh-coredns-role
subjects:
- kind: ServiceAccount
name: coredns
name: maesh-coredns
namespace: {{ .Release.Namespace }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/chart/maesh/templates/dns/coredns/coredns-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: coredns
name: maesh-coredns
namespace: {{ .Release.Namespace }}
labels:
chart: {{ include "maesh.chartLabel" . | quote }}
Expand Down

0 comments on commit fb506d0

Please sign in to comment.