Skip to content

changes for push url in air gap env #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions charts/self-host/templates/pre-install-hook-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions charts/self-host/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down