Fix workshop install troubleshooting: use installplans, not ip - #1343
boazmichaely wants to merge 1 commit into
Conversation
Use `oc get installplans` instead of `oc get ip` when checking OLM InstallPlan status during Compliance Operator installation. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Hi @boazmichaely. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
yuumasato
left a comment
There was a problem hiding this comment.
/lgtm
Just update with a signed the commit, please.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: boazmichaely, yuumasato 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 |
Summary
oc get ip -nopenshift-compliancetooc get installplans -nopenshift-compliancein the install exercise troubleshooting section.Why
The install exercise shows sample
InstallPlanoutput (NAME,CSV,APPROVAL,APPROVED), but the command usesoc get ip.On current OpenShift/kubectl,
ipis a short name forIPAddress(networking.k8s.io/v1), not OLMInstallPlan. Runningoc get iplists cluster service IP allocations, for example:InstallPlanalso has short nameip(operators.coreos.com/v1alpha1), but it is lower priority, sooc get ipresolves toIPAddressand may warn thatipcould also match installplans.For OLM install troubleshooting, the intended resource is
InstallPlaninopenshift-compliance. Using the full resource name avoids the ambiguity.Test plan
oc explain ipdocumentsIPAddress(networking.k8s.io/v1)oc explain installplansdocuments OLM InstallPlan with the expected columnsMade with Cursor