From a0a757cc6d08a66870ae4d0331f9b87db73f3b0a Mon Sep 17 00:00:00 2001 From: Johnny Fredheim Horvi Date: Thu, 6 Feb 2025 12:36:19 +0100 Subject: [PATCH] Use correct ingress class (#123) Co-authored-by: frodesundby --- charts/Feature.yaml | 5 ----- charts/templates/ingress.yaml | 2 +- charts/values.yaml | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/charts/Feature.yaml b/charts/Feature.yaml index 84d79447..9e17460f 100644 --- a/charts/Feature.yaml +++ b/charts/Feature.yaml @@ -1,11 +1,6 @@ environmentKinds: - management values: - ingressClass: - displayName: Ingress class - description: Ingress class - config: - type: string host: displayName: hostname override computed: diff --git a/charts/templates/ingress.yaml b/charts/templates/ingress.yaml index 25aee252..a2839d5f 100644 --- a/charts/templates/ingress.yaml +++ b/charts/templates/ingress.yaml @@ -8,7 +8,7 @@ metadata: nginx.ingress.kubernetes.io/configuration-snippet: | more_set_headers "X-Robots-Tag: noindex"; spec: - ingressClassName: '{{ .Values.ingressClass }}' + ingressClassName: 'nais-ingress-external' rules: - host: '{{ .Values.host }}' http: diff --git a/charts/values.yaml b/charts/values.yaml index 06a013e3..7320374d 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -1,7 +1,6 @@ image: repository: europe-north1-docker.pkg.dev/nais-io/nais/images name: console-frontend -ingressClass: 'nais-ingress' host: '' tenantDomain: ''