|
@@ -14,7 +14,7 @@ metadata:
|
|
|
nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
|
|
nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
|
|
|
spec:
|
|
spec:
|
|
|
rules:
|
|
rules:
|
|
|
- {{- if .Values.docs.enabled -}}
|
|
|
|
|
|
|
+ {{ if .Values.docs.enabled }}
|
|
|
- host: {{ .Values.docs.domain }}
|
|
- host: {{ .Values.docs.domain }}
|
|
|
http:
|
|
http:
|
|
|
paths:
|
|
paths:
|
|
@@ -22,8 +22,8 @@ spec:
|
|
|
serviceName: gethue-docs
|
|
serviceName: gethue-docs
|
|
|
servicePort: 80
|
|
servicePort: 80
|
|
|
path: /
|
|
path: /
|
|
|
- {{- end -}}
|
|
|
|
|
- {{- if .Values.website.enabled -}}
|
|
|
|
|
|
|
+ {{ end }}
|
|
|
|
|
+ {{ if .Values.website.enabled }}
|
|
|
- host: {{ .Values.website.domain }}
|
|
- host: {{ .Values.website.domain }}
|
|
|
http:
|
|
http:
|
|
|
paths:
|
|
paths:
|
|
@@ -31,7 +31,7 @@ spec:
|
|
|
serviceName: gethue-website
|
|
serviceName: gethue-website
|
|
|
servicePort: 80
|
|
servicePort: 80
|
|
|
path: /
|
|
path: /
|
|
|
- {{- end -}}
|
|
|
|
|
|
|
+ {{ end }}
|
|
|
tls:
|
|
tls:
|
|
|
- hosts:
|
|
- hosts:
|
|
|
{{- if .Values.docs.enabled -}}
|
|
{{- if .Values.docs.enabled -}}
|