metal-stack / duros-controller

kubernetes controller to deploy a lightbits storageclass into a cluster with proper authentication tokens
MIT License
1 stars 0 forks source link

Invalid updates on controller stateful set are possible #75

Closed Gerrit91 closed 6 months ago

Gerrit91 commented 6 months ago

This will lead to an error state of the controller from which it does not correctly apply changes anymore:

"StatefulSet.apps \"lb-csi-controller\" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"}
Gerrit91 commented 6 months ago

Maybe we should introduce a status field for errors during apply and also check those in the GEPM. Otherwise we have no visibility of this issue.