make HA claim fix on empty cluster also

This commit is contained in:
azykov@mail.ru
2026-10-20 08:51:10 +03:00
parent dd9c364860
commit a29ecfdfa6
@@ -69,10 +69,11 @@ spec:
persistence: persistence:
config: config:
type: persistentVolumeClaim type: persistentVolumeClaim
# app-template names a lone PVC "<release>" but "<release>-<key>" once name: homeassistant
# there are several; adding `media` renamed it and HA came up on an accessMode: ReadWriteOnce
# empty volume. Pin the original claim that holds the real config. size: 10Gi
existingClaim: homeassistant storageClass: longhorn
retain: true
globalMounts: globalMounts:
- path: /config - path: /config
media: media: