home-assistant: Run as root in user namespace
Beginning with Home Assistant 2024.12, it is no longer possible to use custom integrations if the container is running as an unprivileged user. Fortunately, it can be "tricked" by running as root in an unprivileged user namespace. https://github.com/blakeblackshear/frigate-hass-integration/issues/762 https://github.com/home-assistant/core/issues/132336pull/60/head
parent
aebdbc2e12
commit
43d5d7f39e
|
@ -74,15 +74,11 @@ spec:
|
|||
failureThreshold: 300
|
||||
periodSeconds: 3
|
||||
initialDelaySeconds: 3
|
||||
securityContext:
|
||||
runAsUser: 300
|
||||
runAsGroup: 300
|
||||
volumeMounts:
|
||||
- name: home-assistant-data
|
||||
mountPath: /config
|
||||
subPath: data
|
||||
securityContext:
|
||||
fsGroup: 300
|
||||
hostUsers: false
|
||||
volumes:
|
||||
- name: home-assistant-data
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Reference in New Issue