-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.14.0
-
None
-
Moderate
-
No
-
False
-
Description of problem:
When updating enableMemoryOptimization from true to false, the spod pods will not restart automatically
Version-Release number of selected component (if applicable):
4.14.0-0.nightly-2023-05-23-103225 + Security-profiles-operator.v0.7.1
How reproducible:
Always
Steps to Reproduce:
1. Install Security Profiles Operator 2. Patch to enable the enableMemoryOptimization: $ oc patch spod/spod --type merge -p '{"spec":{"enableLogEnricher":true,"enableMemoryOptimization":true}}' securityprofilesoperatordaemon.security-profiles-operator.x-k8s.io/spod patched 3. Wait until all spods are running, patch the enableMemoryOptimization to false: $ oc patch spod/spod --type merge -p '{"spec":{"enableMemoryOptimization":false}}' securityprofilesoperatordaemon.security-profiles-operator.x-k8s.io/spod patched
Actual results:
The spod pods will not restart automatically.
Expected results:
The spod pods should restart automatically.
Additional info: