Merge pull request #80 from erikwilson/bump-ingress-nginx

Update for rke2 ingress-nginx CI issues
pull/81/head
Erik Wilson 2021-05-11 10:18:32 -07:00 committed by GitHub
commit b80b2fe2f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 5 deletions

View File

@ -1,12 +1,14 @@
--- charts-original/templates/controller-daemonset.yaml --- charts-original/templates/controller-daemonset.yaml
+++ charts/templates/controller-daemonset.yaml +++ charts/templates/controller-daemonset.yaml
@@ -63,9 +63,7 @@ @@ -62,10 +62,8 @@
{{- end }}
{{- end }} {{- end }}
containers: containers:
- name: controller - - name: controller
- {{- with .Values.controller.image }} - {{- with .Values.controller.image }}
- image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}" - image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
- {{- end }} - {{- end }}
+ - name: rke2-ingress-nginx-controller
+ image: "{{ template "system_default_registry" . }}{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}{{- if (.Values.controller.image.digest) -}} @{{.Values.controller.image.digest}} {{- end -}}" + image: "{{ template "system_default_registry" . }}{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}{{- if (.Values.controller.image.digest) -}} @{{.Values.controller.image.digest}} {{- end -}}"
imagePullPolicy: {{ .Values.controller.image.pullPolicy }} imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
{{- if .Values.controller.lifecycle }} {{- if .Values.controller.lifecycle }}

View File

@ -1,12 +1,14 @@
--- charts-original/templates/controller-deployment.yaml --- charts-original/templates/controller-deployment.yaml
+++ charts/templates/controller-deployment.yaml +++ charts/templates/controller-deployment.yaml
@@ -67,9 +67,7 @@ @@ -66,10 +66,8 @@
{{- end }}
{{- end }} {{- end }}
containers: containers:
- name: controller - - name: controller
- {{- with .Values.controller.image }} - {{- with .Values.controller.image }}
- image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}" - image: "{{.repository}}:{{ .tag }}{{- if (.digest) -}} @{{.digest}} {{- end -}}"
- {{- end }} - {{- end }}
+ - name: rke2-ingress-nginx-controller
+ image: "{{ template "system_default_registry" . }}{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}{{- if (.Values.controller.image.digest) -}} @{{.Values.controller.image.digest}} {{- end -}}" + image: "{{ template "system_default_registry" . }}{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}{{- if (.Values.controller.image.digest) -}} @{{.Values.controller.image.digest}} {{- end -}}"
imagePullPolicy: {{ .Values.controller.image.pullPolicy }} imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
{{- if .Values.controller.lifecycle }} {{- if .Values.controller.lifecycle }}

View File

@ -52,6 +52,15 @@
## Annotations to be added to the controller Deployment or DaemonSet ## Annotations to be added to the controller Deployment or DaemonSet
## ##
@@ -491,7 +492,7 @@
patch:
enabled: true
image:
- repository: docker.io/jettech/kube-webhook-certgen
+ repository: rancher/mirrored-jettech-kube-webhook-certgen
tag: v1.5.1
pullPolicy: IfNotPresent
## Provide a priority class name to the webhook patching job
@@ -608,8 +609,8 @@ @@ -608,8 +609,8 @@
name: defaultbackend name: defaultbackend

View File

@ -1,4 +1,4 @@
url: https://github.com/kubernetes/ingress-nginx/releases/download/helm-chart-3.30.0/ingress-nginx-3.30.0.tgz url: https://github.com/kubernetes/ingress-nginx/releases/download/helm-chart-3.30.0/ingress-nginx-3.30.0.tgz
packageVersion: 01 packageVersion: 02
# 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