You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/frigate/README.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,19 @@ config: |
42
42
- detect
43
43
```
44
44
45
+
#### Configuration Updates
46
+
47
+
Since the config key is stored in a configMap which is mounted as a read-only file, the Frigate UI
48
+
will be unable to update the configuration, and config migration will fail.
49
+
50
+
If `persistence.config.ephemeralWritableConfigYaml` is set to true along with `persistence.config.enabled`,
51
+
the config.yml will be copied into the /config volume mount rather than mounted into it.
52
+
53
+
Copying the config file means migrations can run, and updates to settings, zones, etc.. will be
54
+
written to the running configuration. **However** as soon as the pod is restarted, the changes
55
+
will be lost, so you will have to retrieve the config.yml either from the pod, or
56
+
by performing a `GET /api/config` and updating your helm values `config` key with the new yaml.
57
+
45
58
#### Install Chart
46
59
47
60
Now install the chart:
@@ -93,6 +106,7 @@ helm upgrade --install \
93
106
| persistence.config.size | string | `"10Gi"` | size/capacity of the PVC |
94
107
| persistence.config.skipuninstall | bool | `false` | Do not delete the pvc upon helm uninstall |
95
108
| persistence.config.accessMode | string | `"ReadWriteOnce"` | [access mode](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes) to use for the PVC |
109
+
| persistence.config.ephemeralWritableConfigYaml | bool | `true` | Copy config into volume mount for writable ephemeral config support |
96
110
| persistence.media.enabled | bool | `false` | Enables persistence for the data directory |
97
111
| persistence.media.size | string | `"10Gi"` | size/capacity of the PVC |
98
112
| persistence.media.skipuninstall | bool | `false` | Do not delete the pvc upon helm uninstall |
@@ -118,4 +132,4 @@ helm upgrade --install \
118
132
| service.type | string | `"ClusterIP"` | Type of Service to use |
119
133
| shmSize | string | `"1Gi"` | amount of shared memory to use for caching |
120
134
| strategyType | string | `"Recreate"` | upgrade strategy type (e.g. Recreate or RollingUpdate) |
121
-
| tolerations | list |`[]`| Node toleration configuration |
0 commit comments