-
Notifications
You must be signed in to change notification settings - Fork 20
*: Update the POC implementation and vendor the PlatformOperators CRD #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*: Update the POC implementation and vendor the PlatformOperators CRD #26
Conversation
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
…latformOperator API Signed-off-by: timflannagan <timflannagan@gmail.com>
…penshift/api dependency Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
Signed-off-by: timflannagan <timflannagan@gmail.com>
…at-operators source Signed-off-by: timflannagan <timflannagan@gmail.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: timflannagan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@timflannagan: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/lgtm |
|
Still in the bootstrapping phase leading up to #23. Manually adding the required labels again. /label px-approved |
Catching up with 57e32c7 (config,Makefile: Remove the kustomize configuration for the in-tree PlatformOperator API, 2022-08-31, openshift#26), which removedthe referenced file: $ git log --stat=300 | grep 'commit \|crd/kustomization.yaml' | grep -B1 crd/kustomization.yaml | head -n2 commit 57e32c7 config/crd/kustomization.yaml | 21 --------------------- or possibly it was 719b41a (Revert "Revert "Merge rukpak updates into main"", 2023-07-07, openshift#88): $ git log --stat=300 | grep 'commit \|webhook' | grep -B1 webhook | head -n2 commit 719b41a config/rukpak/apis/webhooks/kustomization.yml | 27 - but in any case, I don't see a config/webhook directory or a manager_webhook_patch.yaml patch that this component could be calling in.
This updates the current POC codebase, and attempts to introduce the PlatformOperators CRD from the openshift/api repository now that openshift/api#1234 has merged.
These changes introduce a tools.go file to the repository, which only specifies the github.com/openshfit/api/platform/v1alpha1 package that includes the PlatformOperators CRD. Updates the
manifestsMakefile target to ensure we're copying that CRD into our root manifests directory.The root Dockerfile doesn't need any changes here as we already run
COPY manifests /manifestsso we already get this CRD resource for free. I validated this assumption locally:Other misc. changes include updating the controller implementations to ensure it can run properly on cluster. I tried to keep these changes as minimal as possible to avoid stepping on the implementations in #17 and the in-flight CPOM controller implementation. This PR can be a pre-requisite for both of those high-level implementations.
This is also a pre-requisite to #23.