Skip to content

Commit

Permalink
Update NGINX Controller image registry to .gcr.io (helm#23213)
Browse files Browse the repository at this point in the history
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

Update app version to match docker image tag

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

Fix controller image for daemonset

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
Signed-off-by: Adrien Loiseau <adrien.loiseau@logic-immo.com>
  • Loading branch information
a7i authored and li-adrienloiseau committed Jul 29, 2020
1 parent c5b937d commit 10600fc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions stable/nginx-ingress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: nginx-ingress
version: 1.40.3
appVersion: 0.32.0
version: 1.41.0
appVersion: v0.34.0
home: /~https://github.com/kubernetes/ingress-nginx
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Nginx_logo.svg/500px-Nginx_logo.svg.png
Expand Down
3 changes: 2 additions & 1 deletion stable/nginx-ingress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ The following table lists the configurable parameters of the nginx-ingress chart
Parameter | Description | Default
--- | --- | ---
`controller.name` | name of the controller component | `controller`
`controller.image.repository` | controller container image repository | `quay.io/kubernetes-ingress-controller/nginx-ingress-controller`
`controller.image.registry` | controller container image registry | `us.gcr.io`
`controller.image.repository` | controller container image repository | `k8s-artifacts-prod/ingress-nginx/controller`
`controller.image.tag` | controller container image tag | `0.32.0`
`controller.image.digest` | controller container image digest | `""`
`controller.image.pullPolicy` | controller container image pull policy | `IfNotPresent`
Expand Down
2 changes: 1 addition & 1 deletion stable/nginx-ingress/templates/controller-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
containers:
- name: {{ template "nginx-ingress.name" . }}-{{ .Values.controller.name }}
{{- with .Values.controller.image }}
image: "{{.repository}}{{- if (.digest) -}} @{{.digest}} {{- else -}} :{{ .tag }} {{- end -}}"
image: "{{- if .registry -}}{{ .registry }}/{{- end -}}{{ .repository }}{{- if (.digest) -}} @{{.digest}}{{- else -}}:{{ .tag }} {{- end -}}"
{{- end }}
imagePullPolicy: "{{ .Values.controller.image.pullPolicy }}"
{{- if .Values.controller.lifecycle }}
Expand Down
2 changes: 1 addition & 1 deletion stable/nginx-ingress/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
containers:
- name: {{ template "nginx-ingress.name" . }}-{{ .Values.controller.name }}
{{- with .Values.controller.image }}
image: "{{.repository}}{{- if (.digest) -}} @{{.digest}} {{- else -}} :{{ .tag }} {{- end -}}"
image: "{{- if .registry -}}{{ .registry }}/{{- end -}}{{ .repository }}{{- if (.digest) -}} @{{.digest}}{{- else -}}:{{ .tag }} {{- end -}}"
{{- end }}
imagePullPolicy: "{{ .Values.controller.image.pullPolicy }}"
{{- if .Values.controller.lifecycle }}
Expand Down
10 changes: 8 additions & 2 deletions stable/nginx-ingress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
controller:
name: controller
image:
repository: quay.io/kubernetes-ingress-controller/nginx-ingress-controller
tag: "0.32.0"
# registry value can be any of the following:
# us.gcr.io
# eu.gcr.io
# asia.gcr.io
registry: us.gcr.io
repository: k8s-artifacts-prod/ingress-nginx/controller
tag: "v0.34.0"
# digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20
pullPolicy: IfNotPresent
# www-data -> uid 101
runAsUser: 101
Expand Down

0 comments on commit 10600fc

Please sign in to comment.