fix(univention-management-stack): Use "stack-gateway" in all deployments

This commit is contained in:
Johannes Bornhold
2023-11-23 22:30:15 +01:00
parent a5f263ce48
commit c19bca2be0
3 changed files with 13 additions and 9 deletions

View File

@@ -22,9 +22,6 @@ repositories:
keyring: "../../files/gpg-pubkeys/souvap-univention-de.gpg" keyring: "../../files/gpg-pubkeys/souvap-univention-de.gpg"
releases: releases:
# TODO: Interim, until the UMS stack has a stack umbrella chart and provides a solution
# {{- if eq .Values.ingress.ingressClassName "dedicated-haproxy-external" }}
# renovate: # renovate:
# registryUrl=https://registry.souvap-univention.de # registryUrl=https://registry.souvap-univention.de
# packageName=souvap/tooling/charts/bitnami-charts/nginx # packageName=souvap/tooling/charts/bitnami-charts/nginx
@@ -36,7 +33,6 @@ releases:
values: values:
- "values-ums-stack-gateway.gotmpl" - "values-ums-stack-gateway.gotmpl"
installed: {{ .Values.univentionManagementStack.enabled }} installed: {{ .Values.univentionManagementStack.enabled }}
# {{- end }}
# renovate: # renovate:
# registryUrl=https://gitlab.souvap-univention.de/api/v4/projects/155/packages/helm/stable # registryUrl=https://gitlab.souvap-univention.de/api/v4/projects/155/packages/helm/stable

View File

@@ -4,7 +4,11 @@ SPDX-License-Identifier: Apache-2.0
*/}} */}}
--- ---
ingress: ingress:
enabled: {{ if eq .Values.ingress.ingressClassName "dedicated-haproxy-external" }}false{{ else }}{{ .Values.ingress.enabled }}{{ end }} # Intentionally not using the Ingress configuration of the UMS stack at the
# moment, since it does depend on rewriting capabilities of the ingress
# controller. Those are encapsulated into the release "stack-gateway" so that
# the compatibility with all ingress controllers is increased.
enabled: false
host: "{{ .Values.global.hosts.univentionManagementStack }}.{{ .Values.global.domain }}" host: "{{ .Values.global.hosts.univentionManagementStack }}.{{ .Values.global.domain }}"
ingressClassName: {{ .Values.ingress.ingressClassName | quote }} ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
tls: tls:

View File

@@ -15,19 +15,22 @@ image:
extraIngresses: extraIngresses:
redirects: redirects:
enabled: {{ if eq .Values.ingress.ingressClassName "dedicated-haproxy-external" }}false{{ else }}{{ .Values.ingress.enabled }}{{ end }} # Using "stack-gateway" currently.
enabled: false
# The TLS configuration is on the "master" Ingress, see below. # The TLS configuration is on the "master" Ingress, see below.
tls: tls:
enabled: false enabled: false
master: master:
enabled: {{ if eq .Values.ingress.ingressClassName "dedicated-haproxy-external" }}false{{ else }}{{ .Values.ingress.enabled }}{{ end }} # Using "stack-gateway" currently.
enabled: false
tls: tls:
enabled: {{ .Values.ingress.tls.enabled }} enabled: {{ .Values.ingress.tls.enabled }}
secretName: {{ .Values.ingress.tls.secretName | quote }} secretName: {{ .Values.ingress.tls.secretName | quote }}
# See "extraVolumeMounts" below # See "extraVolumeMounts" below
custom-favicon: custom-favicon:
enabled: true # Using "stack-gateway" at the moment
enabled: false
annotations: annotations:
nginx.org/mergeable-ingress-type: "minion" nginx.org/mergeable-ingress-type: "minion"
paths: paths:
@@ -37,7 +40,8 @@ extraIngresses:
# See "extraVolumeMounts" below # See "extraVolumeMounts" below
custom-branding: custom-branding:
enabled: true # Using "stack-gateway" at the moment
enabled: false
annotations: annotations:
nginx.ingress.kubernetes.io/configuration-snippet: | nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^/univention/portal(/.*)$ $1 break; rewrite ^/univention/portal(/.*)$ $1 break;