mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
support multiple domains
This commit is contained in:
parent
63b00d67b5
commit
481174421b
@ -17,16 +17,20 @@ metadata:
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.LETSENCRYPT.DOMAIN }}
|
||||
{{- range .Values.LETSENCRYPT.DOMAINS }}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
secretName: tls
|
||||
rules:
|
||||
- host: {{ .Values.LETSENCRYPT.DOMAIN }}
|
||||
{{- range .Values.LETSENCRYPT.DOMAINS }}
|
||||
- host: {{ . }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: {{ .Release.Name }}-webapp
|
||||
name: {{ $.Release.Name }}-webapp
|
||||
port:
|
||||
number: 3000
|
||||
number: 3000
|
||||
{{- end }}
|
||||
Loading…
x
Reference in New Issue
Block a user