Closed jkhelil closed 3 months ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from jkhelil. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
@adambkaplan I am tryijng to move from manifestival/controller-runtie-cient to maifestival/client-go-client, hoping it handling the server side apply hiweer the tests are not working unfortenately on envtest. Do you have any idea why envtest is not initlialzing with client-go?
I would imagine that this PR will need more work replacing instances of the controller-runtime client with the plain k8s client, which would have far-reaching consequences.
Per @joelanford - it sounds like we can use the controller-runtime Patch
method and send it unstructured JSON, which would then let us do server-side apply. If we take this approach, we'd want to contribute the change to Manifestival.
We may also want to take this as a moment to reconsider the manfiestival-based approach in the operator. Tekton and ArgoCD's operators both share the challenge of deploying their own "child" CRDs - what are they doing?
cc @vdemeester @janfis
From Refinement, nothing to do here, and it might be fixed by another PR.
Changes
Fixes https://github.com/shipwright-io/operator/issues/184
Submitter Checklist
See the contributor guide for details on coding conventions, github and prow interactions, and the code review process.
Release Notes
None