diff --git a/charts/edge-site/templates/statefulset.yaml b/charts/edge-site/templates/statefulset.yaml index cbb3109..71d3dc9 100644 --- a/charts/edge-site/templates/statefulset.yaml +++ b/charts/edge-site/templates/statefulset.yaml @@ -75,6 +75,8 @@ spec: key: token optional: false {{- end }} + - name: PRIMARY_SITE_MODE + value: "{{ .Values.globals.upload.primarySiteMode }}" - name: DATABASE_CONNECTION_STRING value: sqlite://file:/data/index/foxglove.db?_journal_mode=WAL - name: STORAGE_ROOT diff --git a/charts/edge-site/values.yaml b/charts/edge-site/values.yaml index 977aef6..9f3fa8a 100644 --- a/charts/edge-site/values.yaml +++ b/charts/edge-site/values.yaml @@ -18,10 +18,14 @@ globals: # This section configures where the deployment will upload files you wish to import into a primary site upload: - # The cloud provider where the destination inbox bucket lives - # Values values: aws, azure, google_cloud + # Upload to either a Foxglove-hosted or self-managed primary site. + # Values: "self-managed", "hosted" + primarySiteMode: self-managed + # The cloud provider where the self-managed primary site inbox bucket lives. + # If `primarySiteMode` is set to `hosted`, these values are ignored. + # Values: aws, azure, google_cloud provider: - # The bucket name where the deployment will send the requested files + # The self-managed primary site inbox bucket name bucketName: # Configuration for recording storage, defaults to the persistent volume configured by