-
Notifications
You must be signed in to change notification settings - Fork 142
Add ImageContentSourcePolicy CRD manifest #67
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
Conversation
|
/test e2e-aws-upgrade |
|
openshift/api#354 and openshift/client-go#109 are in. This is ready to merge once tests are green! |
9780c08 to
e80059e
Compare
|
from e2e-aws job install-failed-during-bootstrap logs |
| apiVersion: apiextensions.k8s.io/v1beta1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: image-content-source-policy.config.openshift.io |
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 name should be imagecontentsourcepolicies.operator.openshift.io
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.
fixed
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.
its still imagecontentsourcepolicies.config.openshift.io, it should be imagecontentsourcepolicies.operator.openshift.io
error from bootkube.sh
Jun 27 20:09:24 ip-10-0-11-139 bootkube.sh[1413]: "0000_10_config-operator_01_imagecontentsourcepolicy.crd.yaml": failed to create: CustomResourceDefinition.apiextensions.k8s.io "imagecontentsourcepolicies.config.openshift.io" is invalid: metadata.name: Invalid value: "imagecontentsourcepolicies.config.openshift.io": must be spec.names.plural+"."+spec.groupThere 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.
oh, oops. Fixed now.
| scope: Cluster | ||
| names: | ||
| kind: ImageContentSourcePolicy | ||
| singular: imageContentSourcePolicy |
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.
all small-case
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.
fixed
| metadata: | ||
| name: image-content-source-policy.config.openshift.io | ||
| spec: | ||
| group: config.openshift.io |
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.
operator.openshift.io
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.
fixed
| names: | ||
| kind: ImageContentSourcePolicy | ||
| singular: imageContentSourcePolicy | ||
| plural: imageContentSourcePolicies |
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.
all small-case
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.
fixed
| plural: imageContentSourcePolicies | ||
| listKind: ImageContentSourcePolicyList | ||
| versions: | ||
| - name: v1 |
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.
v1alpha1
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.
fixed
78425c1 to
d618568
Compare
|
Adding a ImageContentSourcePolicy manifest to create cluster wide registry mirror configurations. Signed-off-by: Urvashi Mohnani <[email protected]>
Signed-off-by: Urvashi Mohnani <[email protected]>
|
@abhinavdahiya ran glide up -v and make update-codegen |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, deads2k, umohnani8 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 |
Adding a ImageContentSourcePolicy manifest to create cluster wide
registry mirror configurations.
API PR: openshift/api#354
Signed-off-by: Urvashi Mohnani [email protected]