Skip to content

Commit

Permalink
edge-controller: configure primary site mode through values
Browse files Browse the repository at this point in the history
  • Loading branch information
james-rms committed Nov 11, 2024
1 parent 22ffdb6 commit c2a9930
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions charts/edge-site/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions charts/edge-site/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 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 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
Expand Down

0 comments on commit c2a9930

Please sign in to comment.