kairos-io/kairos
kairos operator should allow the user to set the host dir mount and respect it
Closed
#3,658 opened on Sep 11, 2025
area/operatorenhancementgood first issuekubernetestriage
Repository metrics
- Stars
- (1,782 stars)
- PR merge metrics
- (Avg merge 2d 3h) (14 merged PRs in 30d)
Description
As described here: https://github.com/kairos-io/kairos/issues/3651#issuecomment-3280239643
we need to read the desired mount path from the NodeOp resource (NodeOpUpgrade too? or maybe not, since we are the ones defining the script there). Then we need to also set the environment variable for the Pods so that the kairos-agent knows where the host dir is mounted: https://github.com/kairos-io/kairos-agent/blob/487fc15f233e135e4bdd37954602b3c3ae45e7f6/pkg/utils/k8s/common.go#L12