Skip to content

Commit

Permalink
add api part
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Nov 27, 2024
1 parent 3d2c00a commit 99f7e28
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion k8s/helmfile/env/local/api.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99f7e28

Please sign in to comment.