Skip to content

Commit 37d6ffe

Browse files
committed
add alternative CRD upgrade command examples
1 parent 3cd5886 commit 37d6ffe

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

charts/nginx-ingress/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ To upgrade the CRDs, pull the chart sources as described in [Pulling the Chart](
4848
kubectl apply -f crds/
4949
```
5050

51+
Alternatively, CRDs can be upgraded without pulling the chart by running:
52+
53+
```console
54+
kubectl apply -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v3.4.2/deploy/crds.yaml
55+
```
56+
57+
In the above command, `v3.4.2` represents the version of the Ingress Controller release rather than the Helm chart version.
58+
5159
> **Note**
5260
>
5361
> The following warning is expected and can be ignored: `Warning: kubectl apply should be used on resource created by

docs/content/installation/installing-nic/installation-with-helm.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ To upgrade the CRDs, pull the chart sources as described in [Pulling the Chart](
4242
kubectl apply -f crds/
4343
```
4444

45+
Alternatively, CRDs can be upgraded without pulling the chart by running:
46+
47+
```console
48+
kubectl apply -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v3.4.2/deploy/crds.yaml
49+
```
50+
51+
In the above command, `v3.4.2` represents the version of the Ingress Controller release rather than the Helm chart version.
52+
4553
{{<note>}}The following warning is expected and can be ignored: `Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply`.
4654

4755
Make sure to check the [release notes](https://www.github.com/nginxinc/kubernetes-ingress/releases) for a new release for any special upgrade procedures.

0 commit comments

Comments
 (0)