Skip to content

Commit 3cd5886

Browse files
committed
make CRDs note conditional on upgrade
1 parent 199cf2a commit 3cd5886

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/nginx-ingress/templates/NOTES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ For release notes for this version please see: https://docs.nginx.com/nginx-ingr
44

55
Installation and upgrade instructions: https://docs.nginx.com/nginx-ingress-controller/installation/installing-nic/installation-with-helm/
66

7+
{{ if .Release.IsUpgrade -}}
78
If you are upgrading from a version of the chart that uses older Custom Resource Definitions (CRD) it is necessary to manually upgrade the CRDs as this is not managed by Helm.
89
To update to the latest version of the CRDs:
910
$ kubectl apply -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v{{ .Chart.AppVersion }}/deploy/crds.yaml
1011

1112
More details on upgrading the CRDs: https://docs.nginx.com/nginx-ingress-controller/installation/installing-nic/installation-with-helm/#upgrading-the-crds
13+
{{- end -}}

0 commit comments

Comments
 (0)