diff --git a/charts/edge-site/Chart.yaml b/charts/edge-site/Chart.yaml index d694bab..921a231 100644 --- a/charts/edge-site/Chart.yaml +++ b/charts/edge-site/Chart.yaml @@ -13,6 +13,6 @@ type: application # 1.0.0-alpha.0 # 1.0.0-alpha.1 # 1.0.0 -version: "0.0.29" +version: "0.0.30" appVersion: "65e83cd7ed9004d89c83e239a4c6fa8dbd4caa08" 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..834d5d0 100644 --- a/charts/edge-site/values.yaml +++ b/charts/edge-site/values.yaml @@ -16,12 +16,17 @@ globals: ## For example: us-east-1 region: "" - # This section configures where the deployment will upload files you wish to import into a primary site + # This section configures where the deployment will upload files you wish to import. 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. Ignored if + # `primarySiteMode` is set to `hosted`. + # 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. Ignored if `primarySiteMode` is set to + # `hosted`. bucketName: # Configuration for recording storage, defaults to the persistent volume configured by