mirror of
https://github.com/plausible/hosting.git
synced 2024-06-18 05:49:23 -05:00
Use Ingress host as BASE_URL
This commit is contained in:
parent
d92cf6fcfc
commit
bfea482006
|
@ -98,10 +98,8 @@ spec:
|
||||||
name: {{ include "plausible-analytics.fullname" . }}
|
name: {{ include "plausible-analytics.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.baseURL }}
|
|
||||||
- name: BASE_URL
|
- name: BASE_URL
|
||||||
value: {{ .Values.baseURL | toString | quote }}
|
value: "http{{ if $.Values.ingress.tls }}s{{ end }}://{{ (first .Values.ingress.hosts).host }}"
|
||||||
{{- end }}
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
|
@ -185,7 +183,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.disableAuth }}
|
{{- if .Values.disableAuth }}
|
||||||
- name: BASE_URL
|
- name: BASE_URL
|
||||||
value: {{ .Values.baseURL | toString | quote }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.smtp.enabled }}
|
{{- if .Values.smtp.enabled }}
|
||||||
{{- if .Values.smtp.mailer.emailAddress }}
|
{{- if .Values.smtp.mailer.emailAddress }}
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
disableAuth: false
|
disableAuth: false
|
||||||
disableRegistration: false
|
disableRegistration: false
|
||||||
baseURL: ""
|
|
||||||
|
|
||||||
adminUser:
|
adminUser:
|
||||||
email: ""
|
email: ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user