mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[frigate] Support disabling probes and secrets for env vars (#249)
* [frigate] add support for secrets with envFrom * [frigate] update values.yaml with extraSecretForEnvFrom * [frigate] allow probes to be disabled * [frigate] update default image * [frigate] update version and add myself as a maintainer * [frigate] Readme update
This commit is contained in:
parent
fa717823cd
commit
5a14363804
@ -1,8 +1,8 @@
|
||||
apiVersion: v1
|
||||
appVersion: "0.5.0"
|
||||
appVersion: "0.5.1"
|
||||
description: Realtime object detection on RTSP cameras with the Google Coral
|
||||
name: frigate
|
||||
version: 3.0.0
|
||||
version: 3.1.0
|
||||
keywords:
|
||||
- tensorflow
|
||||
- coral
|
||||
@ -14,3 +14,5 @@ sources:
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
||||
- name: blakeblackshear
|
||||
email: blakeb@blakeshome.com
|
||||
|
@ -54,11 +54,12 @@ The following tables lists the configurable parameters of the Sentry chart and t
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------|-------------------------------------|---------------------------------------------------------|
|
||||
| `image.repository` | Image repository | `blakeblackshear/frigate` |
|
||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/blakeblackshear/frigate/tags/).| `0.5.0`|
|
||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/blakeblackshear/frigate/tags/).| `0.5.1`|
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `timezone` | Timezone the frigate instance should run as, e.g. 'America/New_York' | `UTC` |
|
||||
| `rtspPassword` | Password to use for RTSP cameras | `password` |
|
||||
| `extraSecretForEnvFrom` | Secrets containing env variables for | `[]` |
|
||||
| `coral.enabled` | Use the Coral USB device | `false` |
|
||||
| `coral.hostPath` | Host Path to reference USB device location (on the host) | `/dev/bus/usb` |
|
||||
| `shmSize` | Shared memory size for processing | `1Gi` |
|
||||
|
@ -39,6 +39,7 @@ spec:
|
||||
- name: http
|
||||
containerPort: 5000
|
||||
protocol: TCP
|
||||
{{- if .Values.probes.liveness.enabled }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
@ -47,6 +48,8 @@ spec:
|
||||
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
||||
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
||||
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
|
||||
{{- end }}
|
||||
{{- if .Values.probes.readiness.enabled }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
@ -55,6 +58,7 @@ spec:
|
||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
||||
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.timezone }}
|
||||
- name: TZ
|
||||
@ -62,6 +66,11 @@ spec:
|
||||
{{- end }}
|
||||
- name: FRIGATE_RTSP_PASSWORD
|
||||
value: "{{ .Values.rtspPassword }}"
|
||||
envFrom:
|
||||
{{- range .Values.extraSecretForEnvFrom }}
|
||||
- secretRef:
|
||||
name: {{ . }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
{{- if .Values.coral.enabled }}
|
||||
- mountPath: /dev/bus/usb
|
||||
|
@ -9,11 +9,14 @@ strategyType: Recreate
|
||||
|
||||
image:
|
||||
repository: blakeblackshear/frigate
|
||||
tag: 0.5.0
|
||||
tag: 0.5.1
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
rtspPassword: password
|
||||
|
||||
# secret name containing environment variables for frigate
|
||||
extraSecretForEnvFrom: []
|
||||
|
||||
coral:
|
||||
enabled: false
|
||||
hostPath: /dev/bus/usb
|
||||
@ -167,10 +170,12 @@ config: |
|
||||
# Probes configuration
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
initialDelaySeconds: 30
|
||||
failureThreshold: 5
|
||||
timeoutSeconds: 10
|
||||
readiness:
|
||||
enabled: true
|
||||
initialDelaySeconds: 30
|
||||
failureThreshold: 5
|
||||
timeoutSeconds: 10
|
||||
|
Loading…
Reference in New Issue
Block a user