datashim icon indicating copy to clipboard operation
datashim copied to clipboard

Upgrade dependencies of the operator - to latest k8s and controller-runtime

Open srikumar003 opened this issue 1 year ago • 1 comments

Upgrade the operator to the latest K8s Client and controller-runtime. This will involve, at least:

  • [ ] Use VolumeResource instead of Resource type in Operator

srikumar003 avatar Apr 22 '24 09:04 srikumar003

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.

srikumar003 avatar Apr 22 '24 09:04 srikumar003

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.

srikumar003 avatar Apr 30 '24 13:04 srikumar003