Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CH-145 Add spec.ingressClassName to ingress template #769

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion deployment-configuration/helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kind: Ingress
metadata:
name: {{ .Values.ingress.name | quote }}
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/ingress.class: nginx # Deprecated by Kubernetes, however still required for GKE
{{- if and (not .Values.local) $tls }}
kubernetes.io/tls-acme: 'true'
cert-manager.io/issuer: {{ printf "%s-%s" "letsencrypt" .Values.namespace }}
Expand All @@ -47,6 +47,7 @@ metadata:
nginx.ingress.kubernetes.io/proxy-send-timeout: {{ .Values.proxy.timeout.send | quote }}
nginx.ingress.kubernetes.io/use-forwarded-headers: {{ .Values.proxy.forwardedHeaders | quote }}
spec:
ingressClassName: nginx
rules:
{{- range $app := .Values.apps }}
{{- if (and $mainapp (and $app.harness.name (eq $app.harness.name $mainapp))) }}
Expand Down
Loading