Capability SYS_ADMIN is published as removed in changelog, but is still in factory method
Describe the bug Capability SYS_ADMIN is published as removed in changelog, but is still in factory method. If the privilege is not necessary, remove this from the factory methods that create the daemonsets.
Environment Daemonsets are using the SYS_ADMIN capability, but according the CHANGELOG, this was removed.
- Trident version: v23.07.1
To Reproduce Daemonsets are produced today with pods that require SYS_ADMIN privileges, which is too broad.
Expected behavior Pods from the daemonset will not require SYS_ADMIN privileges.
Additional context Add any other context about the problem here.
Hi @mmerrill3 as part of trident release 23.07 SYS_ADMIN capability was added back. Under changelog -> 23.07 -> Enhancements Kubernetes: Minimized deployment and daemonset linux permissions (Issue https://github.com/NetApp/trident/issues/817). As part of the above issue mentioned, SYS_ADMIN capability was added.