From 99f7e28c3345ff1049626e1d8e9aefe467c8e59b Mon Sep 17 00:00:00 2001 From: dena Date: Wed, 27 Nov 2024 12:43:27 +0100 Subject: [PATCH] add api part --- k8s/helmfile/env/local/api.values.yaml.gotmpl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/k8s/helmfile/env/local/api.values.yaml.gotmpl b/k8s/helmfile/env/local/api.values.yaml.gotmpl index 440a2cef..88ede835 100644 --- a/k8s/helmfile/env/local/api.values.yaml.gotmpl +++ b/k8s/helmfile/env/local/api.values.yaml.gotmpl @@ -2,7 +2,23 @@ image: tag: 10x.18.1 ingress: - tls: null + tls: + - hosts: + - wbaas.localhost + secretName: wikibase-local-tls + enabled: true + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/use-regex: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$2 + hosts: + {{- range .Values.services.app.ingressHosts }} + - host: {{ .host }} + paths: + {{- range .paths }} + - {{ . | quote }} + {{- end }} + {{- end }} platform: backendMwHost: mediawiki-139-app-backend.default.svc.cluster.local