fdb-kubernetes-operator
fdb-kubernetes-operator copied to clipboard
Make use of unstructured when using SSA to prevent default values causing issues
Description
There have been some issues in the past when we tested SSA in the current implementation with default values and it's also a known issue with the controller-runtime, e.g.: https://github.com/kubernetes-sigs/controller-runtime/issues/1669 (only to link one issue).
Type of change
Please select one of the options below.
- Bug fix (non-breaking change which fixes an issue)
Discussion
This will add some more cpu cycles to the operator when pushing the patch but I think this is the simplest way to approach this issue right now. Once the controller-runtime has a better approach we can remove this workaround.
Testing
Ran a manual e2e test.
CI will run all e2e tests with the SSA feature as I enabled it in the operator deployment.