diff --git a/charts/self-host/templates/pre-install-hook-configmap.yaml b/charts/self-host/templates/pre-install-hook-configmap.yaml index 31785d89..36620014 100644 --- a/charts/self-host/templates/pre-install-hook-configmap.yaml +++ b/charts/self-host/templates/pre-install-hook-configmap.yaml @@ -50,9 +50,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 168f46a8..9b5a1e3f 100644 --- a/charts/self-host/values.yaml +++ b/charts/self-host/values.yaml @@ -97,6 +97,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: " " + # Specify the name of the shared storage class # This storage class requires ReadWriteMany. You will need to provide your own storage class. Storage classes with automatic volume previsioners are recommended.