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
fix: add spec.security.seLinuxRelabel opt-out for relabel init container
The operator unconditionally adds a privileged "selinux-relabel" init
container whenever persistence is enabled. On clusters where SELinux
relabeling does not apply (NFS-backed storage, or nodes that are not
SELinux-enforcing such as Ubuntu with AppArmor), the container's chcon
fails permanently with "Operation not supported", leaving the pod stuck
in Init:CrashLoopBackOff and the Service returning 503. There was no way
to disable it via the Instance CRD.
Add a backward-compatible opt-out field, spec.security.seLinuxRelabel
(*bool, default true). The init container is now gated on both
PersistenceEnabled and SELinuxRelabelEnabled. Unset preserves today's
behavior so existing SELinux-enforcing clusters are unaffected; an
explicit false skips the init container entirely.
Closes#96
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments