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 }}
initContainers:
- 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"]
{{- end }}
containers:

View File

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

View File

@ -1,4 +1,4 @@
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.
releaseCandidateVersion: 00