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
add section about adding new APIs #1815
Conversation
Hello @deads2k! Some important instructions when contributing to openshift/api: |
README.md
Outdated
// spec is the desired state of the cluster version - the operator will work | ||
// to ensure that the desired version is applied to the cluster. | ||
// +kubebuilder:validation:Required | ||
// +required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop this one, trying to push towards just using the full kubebuilder version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop this one, trying to push towards just using the full kubebuilder version
any idea whether we still have a generator using it for anything?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To my knowledge, we don't have any generators using the un-prefixed tag
7e481c6
to
ecf5588
Compare
/retest |
README.md
Outdated
@@ -3,13 +3,146 @@ The canonical location of the OpenShift API definition. | |||
This repo holds the API type definitions and serialization code used by [openshift/client-go](https://github.com/openshift/client-go) | |||
APIs in this repo ship inside OCP payloads. | |||
|
|||
## Adding new FeatureGates | |||
Add your FeatureGate to feature_gates.go. | |||
The threshold for merging a fully disabled or TechPreview FeatureGAte is an open enhancement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The threshold for merging a fully disabled or TechPreview FeatureGAte is an open enhancement. | |
The threshold for merging a fully disabled or TechPreview FeatureGate is an open enhancement. |
Apart from the typo Theo found, LGTM |
ecf5588
to
97584ca
Compare
Updated |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, JoelSpeed The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
@@ -3,13 +3,146 @@ The canonical location of the OpenShift API definition. | |||
This repo holds the API type definitions and serialization code used by [openshift/client-go](https://github.com/openshift/client-go) | |||
APIs in this repo ship inside OCP payloads. | |||
|
|||
## Adding new FeatureGates | |||
Add your FeatureGate to feature_gates.go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add your FeatureGate to feature_gates.go. | |
Add your FeatureGate to config/v1/feature_gates.go. |
@deads2k: The following test failed, say
Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-cluster-config-api-container-v4.16.0-202403191814.p0.g06c557c.assembly.stream.el9 for distgit ose-cluster-config-api. |
I got this far before needing to get dressed for the Daddy Daughter Dance.
/hold
/assign @JoelSpeed