From 472e972e72457fb3542f7e5a6af21c09e1ef06bf Mon Sep 17 00:00:00 2001 From: k8s-ci-robot Date: Fri, 10 Jun 2022 11:03:34 +0000 Subject: [PATCH] Deploy GitHub Pages --- deploy/upgrade/index.html | 4 ++-- examples/chashsubset/deployment.yaml | 2 +- .../custom-default-backend.helm.values.yaml | 2 +- .../custom-errors/custom-default-backend.yaml | 2 +- examples/http-svc.yaml | 2 +- examples/multi-tls/multi-tls.yaml | 2 +- .../static-ip/nginx-ingress-controller.yaml | 2 +- search/search_index.json | 2 +- sitemap.xml.gz | Bin 711 -> 711 bytes troubleshooting/index.html | 2 +- .../third-party-addons/opentracing/index.html | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/deploy/upgrade/index.html b/deploy/upgrade/index.html index 98a04bce4..c7bedc962 100644 --- a/deploy/upgrade/index.html +++ b/deploy/upgrade/index.html @@ -10,10 +10,10 @@ spec: containers: - name: ingress-nginx-controller - image: k8s.gcr.io/ingress-nginx/controller:v1.0.4@sha256:545cff00370f28363dad31e3b59a94ba377854d3a11f18988f5f9e56841ef9ef + image: registry.k8s.io/ingress-nginx/controller:v1.0.4@sha256:545cff00370f28363dad31e3b59a94ba377854d3a11f18988f5f9e56841ef9ef args: ...

simply change the v1.0.4 tag to the version you wish to upgrade to. The easiest way to do this is e.g. (do note you may need to change the name parameter according to your installation):

kubectl set image deployment/ingress-nginx-controller \
-  controller=k8s.gcr.io/ingress-nginx/controller:v1.0.5@sha256:55a1fcda5b7657c372515fe402c3e39ad93aa59f6e4378e82acd99912fe6028d \
+  controller=registry.k8s.io/ingress-nginx/controller:v1.0.5@sha256:55a1fcda5b7657c372515fe402c3e39ad93aa59f6e4378e82acd99912fe6028d \
   -n ingress-nginx
 

For interactive editing, use kubectl edit deployment ingress-nginx-controller -n ingress-nginx.

With Helm

If you installed ingress-nginx using the Helm command in the deployment docs so its name is ingress-nginx, you should be able to upgrade using

helm upgrade --reuse-values ingress-nginx ingress-nginx/ingress-nginx
 

Migrating from stable/nginx-ingress

See detailed steps in the upgrading section of the ingress-nginx chart README.