-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for global.systemDefaultIngressClass to rke2-ingress-nginx
Signed-off-by: Brad Davidson <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...s/rke2-ingress-nginx/generated-changes/patch/templates/controller-ingressclass.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- charts-original/templates/controller-ingressclass.yaml | ||
+++ charts/templates/controller-ingressclass.yaml | ||
@@ -11,7 +11,7 @@ | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
name: {{ .Values.controller.ingressClassResource.name }} | ||
-{{- if .Values.controller.ingressClassResource.default }} | ||
+{{- if or (.Values.controller.ingressClassResource.default) (eq .Values.global.systemDefaultIngressClass "ingress-nginx") }} | ||
annotations: | ||
ingressclass.kubernetes.io/is-default-class: "true" | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
url: https://github.com/kubernetes/ingress-nginx/releases/download/helm-chart-4.9.1/ingress-nginx-4.9.1.tgz | ||
packageVersion: 00 | ||
packageVersion: 01 | ||
# This repository does not use releaseCandidateVersions, so you can leave this as 00. | ||
releaseCandidateVersion: 00 |