Merge pull request #122 from manuelbuil/nodelocal_initimage

Modify the initImage
pull/123/head
Manuel Buil 2021-07-27 17:00:36 +02:00 committed by GitHub
commit 228a108886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -41,7 +41,7 @@ spec:
{{- if eq .Values.nodelocal.ipvs false }} {{- if eq .Values.nodelocal.ipvs false }}
initContainers: initContainers:
- name: wait-coredns - name: wait-coredns
image: busybox:1.28 image: {{ template "system_default_registry" . }}{{ .Values.nodelocal.initimage.repository }}:{{ .Values.nodelocal.initimage.tag }}
command: ['sh', '-c', "until nc -zv {{ template "clusterDNSServerIP" . }} 53; do echo waiting for dns service; sleep 2; done"] command: ['sh', '-c', "until nc -zv {{ template "clusterDNSServerIP" . }} 53; do echo waiting for dns service; sleep 2; done"]
{{- end }} {{- end }}
containers: containers:

View File

@ -83,7 +83,7 @@
# resources for autoscaler pod # resources for autoscaler pod
resources: resources:
@@ -287,3 +299,16 @@ @@ -287,3 +299,19 @@
deployment: deployment:
enabled: true enabled: true
name: "" name: ""
@ -97,6 +97,9 @@
+ image: + image:
+ repository: rancher/mirrored-k8s-dns-node-cache + repository: rancher/mirrored-k8s-dns-node-cache
+ tag: "1.15.13" + tag: "1.15.13"
+ initimage:
+ repository: rancher/library-busybox
+ tag: "1.32.1"
+ +
+global: +global:
+ systemDefaultRegistry: "" + systemDefaultRegistry: ""

View File

@ -1,4 +1,4 @@
url: https://github.com/coredns/helm/releases/download/coredns-1.16.2/coredns-1.16.2.tgz url: https://github.com/coredns/helm/releases/download/coredns-1.16.2/coredns-1.16.2.tgz
packageVersion: 02 packageVersion: 03
# This repository does not use releaseCandidateVersions, so you can leave this as 00. # This repository does not use releaseCandidateVersions, so you can leave this as 00.
releaseCandidateVersion: 00 releaseCandidateVersion: 00