Skip to content

Commit

Permalink
Merge pull request #769 from MetaCell/feature/ch-145
Browse files Browse the repository at this point in the history
CH-145 Add spec.ingressClassName to ingress template
  • Loading branch information
filippomc authored Sep 12, 2024
2 parents fefad14 + 32f6375 commit d74f534
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit d74f534

Please sign in to comment.