feat(gotosocial): support ACCOUNT_DOMAIN

This commit is contained in:
chris 2022-11-05 02:48:41 +01:00
parent 0ee2e35e49
commit 16f2416d07
Signed by: chris
GPG key ID: 75EFC7666CF51AD6
3 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@ icon: https://docs.gotosocial.org/en/latest/assets/sloth.png
home: https://github.com/superseriousbusiness/gotosocial
type: application
version: 0.1.1
version: 0.1.2
appVersion: "0.5.2"
maintainers:

View file

@ -20,7 +20,7 @@ spec:
initContainers:
- env:
- name: GTS_ACCOUNT_DOMAIN
value: {{ .Release.Name }}.{{ .Values.gtsBulkDomain }}
value: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Values.gtsAccountDomain }}
- name: GTS_APPLICATION_NAME
value: {{ .Release.Name }}-gts
- name: GTS_DB_ADDRESS
@ -42,7 +42,7 @@ spec:
containers:
- env:
- name: GTS_ACCOUNT_DOMAIN
value: {{ .Release.Name }}.{{ .Values.gtsBulkDomain }}
value: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Values.gtsAccountDomain }}
- name: GTS_APPLICATION_NAME
value: {{ .Release.Name }}-gts
- name: GTS_DB_ADDRESS

View file

@ -18,6 +18,7 @@ resources:
memory: 256Mi
gtsBulkDomain: "socaas.site"
gtsAccountDomain: ""
gtsAdminAccountName: ""
gtsAdminAccountMail: ""
gtsAdminAccountPass: ""