NO-ISSUE: Update InfraEnv CR description#9938
NO-ISSUE: Update InfraEnv CR description#9938openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
Conversation
|
@pastequo: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughAdded a new exported constant Changes
Sequence Diagram(s)(omitted — changes are documentation and a single-constant addition; no new multi-component control flow) Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
ddmitrie
left a comment
There was a problem hiding this comment.
I suppose, it should be "while creating an InfraEnv"
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (3)
config/crd/resources.yaml (1)
3230-3230: Same grammar issue as inapi/v1beta1/infraenv_types.goline 124.This manifest is auto-generated from the Go source. Fix the comment in
infraenv_types.goand regenerate.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@config/crd/resources.yaml` at line 3230, Update the grammar in the Go source comment in infraenv_types.go (the InfraEnv type comment around the OSImageVersion and ClusterRef fields) so it reads correctly (e.g., "Note: OSImageVersion can't be specified together with ClusterRef when creating an InfraEnv."). After fixing the comment in infraenv_types.go, regenerate the CRD manifest so config/crd/resources.yaml contains the corrected sentence.config/crd/bases/agent-install.openshift.io_infraenvs.yaml (1)
221-221: Same grammar issue as inapi/v1beta1/infraenv_types.goline 124.Auto-generated from Go source — regenerate after fixing the source comment.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@config/crd/bases/agent-install.openshift.io_infraenvs.yaml` at line 221, The generated CRD contains a grammar issue in the source comment for the InfraEnv type: change the phrasing that reads "OSImageVersion can't be specified along with ClusterRef while creating a InfraEnv." in api/v1beta1/infraenv_types.go (the comment associated with InfraEnv / the OSImageVersion and ClusterRef fields) to a grammatically correct form such as "OSImageVersion cannot be specified together with ClusterRef when creating an InfraEnv."; update that comment on the InfraEnv/OSImageVersion/ClusterRef declaration and then regenerate the CRD so config/crd/bases/agent-install.openshift.io_infraenvs.yaml is updated.deploy/olm-catalog/manifests/agent-install.openshift.io_infraenvs.yaml (1)
231-231: Same grammar issue as inapi/v1beta1/infraenv_types.goline 124.Regenerate after fixing the source comment.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@deploy/olm-catalog/manifests/agent-install.openshift.io_infraenvs.yaml` at line 231, Update the source comment for the InfraEnv API (in api/v1beta1/infraenv_types.go) that documents OSImageVersion to correct the grammar and then regenerate the manifests; change the phrase "can't be specified along with ClusterRef while creating a InfraEnv." to "cannot be specified along with ClusterRef when creating an InfraEnv." and re-run the codegen that produces deploy/olm-catalog/manifests/agent-install.openshift.io_infraenvs.yaml so the fixed wording appears in the manifest.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@api/v1beta1/infraenv_types.go`:
- Line 124: Update the comment above the InfraEnv type to fix the article:
change "a InfraEnv" to "an InfraEnv" in the line that currently reads "Note:
OSImageVersion can't be specified along with ClusterRef while creating a
InfraEnv." so the comment correctly reads "... while creating an InfraEnv." This
will ensure the generated CRD YAML manifests receive the corrected wording for
the InfraEnv type.
---
Duplicate comments:
In `@config/crd/bases/agent-install.openshift.io_infraenvs.yaml`:
- Line 221: The generated CRD contains a grammar issue in the source comment for
the InfraEnv type: change the phrasing that reads "OSImageVersion can't be
specified along with ClusterRef while creating a InfraEnv." in
api/v1beta1/infraenv_types.go (the comment associated with InfraEnv / the
OSImageVersion and ClusterRef fields) to a grammatically correct form such as
"OSImageVersion cannot be specified together with ClusterRef when creating an
InfraEnv."; update that comment on the InfraEnv/OSImageVersion/ClusterRef
declaration and then regenerate the CRD so
config/crd/bases/agent-install.openshift.io_infraenvs.yaml is updated.
In `@config/crd/resources.yaml`:
- Line 3230: Update the grammar in the Go source comment in infraenv_types.go
(the InfraEnv type comment around the OSImageVersion and ClusterRef fields) so
it reads correctly (e.g., "Note: OSImageVersion can't be specified together with
ClusterRef when creating an InfraEnv."). After fixing the comment in
infraenv_types.go, regenerate the CRD manifest so config/crd/resources.yaml
contains the corrected sentence.
In `@deploy/olm-catalog/manifests/agent-install.openshift.io_infraenvs.yaml`:
- Line 231: Update the source comment for the InfraEnv API (in
api/v1beta1/infraenv_types.go) that documents OSImageVersion to correct the
grammar and then regenerate the manifests; change the phrase "can't be specified
along with ClusterRef while creating a InfraEnv." to "cannot be specified along
with ClusterRef when creating an InfraEnv." and re-run the codegen that produces
deploy/olm-catalog/manifests/agent-install.openshift.io_infraenvs.yaml so the
fixed wording appears in the manifest.
ℹ️ Review info
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to data retention organization setting
⛔ Files ignored due to path filters (1)
vendor/github.com/openshift/assisted-service/api/v1beta1/infraenv_types.gois excluded by!**/vendor/**,!vendor/**
📒 Files selected for processing (4)
api/v1beta1/infraenv_types.goconfig/crd/bases/agent-install.openshift.io_infraenvs.yamlconfig/crd/resources.yamldeploy/olm-catalog/manifests/agent-install.openshift.io_infraenvs.yaml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9938 +/- ##
==========================================
- Coverage 44.07% 43.10% -0.98%
==========================================
Files 414 414
Lines 72202 73830 +1628
==========================================
Hits 31824 31824
- Misses 37502 39130 +1628
Partials 2876 2876 🚀 New features to boost your workflow:
|
8c9eca8 to
268fe6d
Compare
|
/retest |
|
/override ci/prow/edge-e2e-ai-operator-disconnected-capi ci/prow/edge-subsystem-kubeapi-aws |
|
@pastequo: Overrode contexts on behalf of pastequo: ci/prow/edge-e2e-ai-operator-disconnected-capi, ci/prow/edge-subsystem-kubeapi-aws DetailsIn response to this:
Instructions 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CrystalChun, pastequo 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 |
|
/retest required |
|
/retest |
1 similar comment
|
/retest |
|
@pastequo: all tests passed! 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-sigs/prow repository. I understand the commands that are listed here. |
Update kube ocumentation for InfraEnv CR
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Checklist
docs, README, etc)Reviewers Checklist
Summary by CodeRabbit