diff --git a/gotosocial/Chart.yaml b/gotosocial/Chart.yaml index 24cea28..70dd70c 100644 --- a/gotosocial/Chart.yaml +++ b/gotosocial/Chart.yaml @@ -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: diff --git a/gotosocial/templates/deployment.yaml b/gotosocial/templates/deployment.yaml index 58136a2..8f40573 100644 --- a/gotosocial/templates/deployment.yaml +++ b/gotosocial/templates/deployment.yaml @@ -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 diff --git a/gotosocial/values.yaml b/gotosocial/values.yaml index 0953831..16e057f 100644 --- a/gotosocial/values.yaml +++ b/gotosocial/values.yaml @@ -18,6 +18,7 @@ resources: memory: 256Mi gtsBulkDomain: "socaas.site" +gtsAccountDomain: "" gtsAdminAccountName: "" gtsAdminAccountMail: "" gtsAdminAccountPass: ""