datashim
datashim copied to clipboard
Upgrade dependencies of the operator - to latest k8s and controller-runtime
Upgrade the operator to the latest K8s Client and controller-runtime. This will involve, at least:
- [ ] Use VolumeResource instead of Resource type in Operator
The operator was upgraded to K8s Client v0.29 and controller-runtime v0.17 (see PR).
While this works on kind installations, it fails in the CI/CD pipeline. Not able to see why it fails because of #347.
The error was using the deprecated InjectDecoder() method in the Mutating Webhook. Replaced it with initialising a Decoder object and passing it to the Mutator object on creation.