Skip to content

Commit

Permalink
Update charts
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Nov 30, 2022
1 parent f171d0a commit 02e4833
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/edge-site/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ type: application
# 1.0.0-alpha.0
# 1.0.0-alpha.1
# 1.0.0
version: 0.0.0-alpha.0
version: 0.0.0-alpha.1

appVersion: "0.0.0"
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: site-controller
spec:
selector:
matchLabels:
app: foxglove-edge-site
serviceName: "edge-controller"
replicas: 1
template:
metadata:
labels:
app: foxglove-edge-site
spec:
volumes:
- name: pv-storage
- name: storage-root
persistentVolumeClaim:
claimName: edge-controller-pv-claim
claimName: "{{ .Values.edge_controller.storageClaim }}"
containers:
- name: edge-controller
image: us-central1-docker.pkg.dev/foxglove-images/images/edge-controller:8fef61e167e6a914e5a70fba70a0fc6ec4d0ce14
resources:
limits:
memory: "256Mi"
cpu: "500m"
requests:
memory: "32Mi"
cpu: "100m"
volumeMounts:
- mountPath: "/var/data"
name: pv-storage
- mountPath: "/data/edge_storage_root"
name: storage-root
env:
- name: SITE_TOKEN
valueFrom:
Expand All @@ -36,8 +31,8 @@ spec:
key: token
optional: false
- name: DATABASE_CONNECTION_STRING
value: sqlite://file:./controller.db
value: sqlite://file:/data/edge_storage_root/foxglove.db
- name: STORAGE_ROOT
value: /var/data
value: /data/edge_storage_root
- name: FOXGLOVE_API_URL
value: "{{ .Values.globals.foxglove_api_url }}"
3 changes: 3 additions & 0 deletions charts/edge-site/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
globals:
site_token:
foxglove_api_url: https://api.foxglove.dev

edge_controller:
storageClaim: edge-controller-pv-claim

0 comments on commit 02e4833

Please sign in to comment.