diff --git a/charts/self-host/templates/pre-install-hook-configmap.yaml b/charts/self-host/templates/pre-install-hook-configmap.yaml index 7b880d90a..b01029f23 100644 --- a/charts/self-host/templates/pre-install-hook-configmap.yaml +++ b/charts/self-host/templates/pre-install-hook-configmap.yaml @@ -57,9 +57,17 @@ data: {{- if eq .Values.general.cloudRegion "EU" }} globalSettings__installation__identityUri: "https://identity.bitwarden.eu" globalSettings__installation__apiUri: "https://api.bitwarden.eu" + {{- if .Values.general.pushRelayBaseUri }} + globalSettings__pushRelayBaseUri: "{{ .Values.general.pushRelayBaseUri }}" + {{- else }} globalSettings__pushRelayBaseUri: "https://push.bitwarden.eu" + {{- end }} {{- else }} + {{- if .Values.general.pushRelayBaseUri }} + globalSettings__pushRelayBaseUri: "{{ .Values.general.pushRelayBaseUri }}" + {{- else }} globalSettings__pushRelayBaseUri: "https://push.bitwarden.com" + {{- end }} {{- end }} adminSettings__admins: {{ .Values.general.admins | quote }} LOCAL_UID: "1000" diff --git a/charts/self-host/values.yaml b/charts/self-host/values.yaml index 70199a3f4..1d51fcef6 100644 --- a/charts/self-host/values.yaml +++ b/charts/self-host/values.yaml @@ -104,6 +104,9 @@ general: enableCloudCommunication: false # Cloud region for sync. Please see: https://bitwarden.com/help/families-for-enterprise-self-hosted/#step-1-enable-cloud-communication cloudRegion: US + # Uncomment but leave as an empty string if deploying offline or in an air-gap environment + # pushRelayBaseUri: " " + # Refresh token variables https://bitwarden.com/help/environment-variables/#refresh-token-variables refreshTokens: