diff --git a/gotosocial/Chart.yaml b/gotosocial/Chart.yaml index 70dd70c..9dc66aa 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.2 +version: 0.2.0 appVersion: "0.5.2" maintainers: diff --git a/gotosocial/templates/deployment.yaml b/gotosocial/templates/deployment.yaml index 8f40573..1735b2a 100644 --- a/gotosocial/templates/deployment.yaml +++ b/gotosocial/templates/deployment.yaml @@ -21,14 +21,14 @@ spec: - env: - name: GTS_ACCOUNT_DOMAIN value: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Values.gtsAccountDomain }} + - name: GTS_HOST + value: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Valus.gtsHost }} - name: GTS_APPLICATION_NAME value: {{ .Release.Name }}-gts - name: GTS_DB_ADDRESS value: /gotosocial/storage/sqlite.db - name: GTS_DB_TYPE value: sqlite - - name: GTS_HOST - value: {{ .Release.Name }}.{{ .Values.gtsBulkDomain }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" name: init-{{ .Release.Name }}-gts volumeMounts: @@ -50,7 +50,7 @@ spec: - name: GTS_DB_TYPE value: sqlite - name: GTS_HOST - value: {{ .Release.Name }}.{{ .Values.gtsBulkDomain }} + value: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Valus.gtsHost }} - name: GTS_SMTP_FROM value: noreply@{{ .Values.gtsBulkDomain }} - name: GTS_SMTP_HOST diff --git a/gotosocial/values.yaml b/gotosocial/values.yaml index 16e057f..150e01e 100644 --- a/gotosocial/values.yaml +++ b/gotosocial/values.yaml @@ -19,6 +19,7 @@ resources: gtsBulkDomain: "socaas.site" gtsAccountDomain: "" +gtsHost: "" gtsAdminAccountName: "" gtsAdminAccountMail: "" gtsAdminAccountPass: ""