-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run update-codegen.sh to sync up with latest
cd go-controller && ./hack/update-codegen.sh The generated YAMLs for the CRDs were not reflecting the changes to IPAMClaims merged via: #4165 There were also changes in `DNSNameResolver` that were missing: #4045 Lastly, `x-kubernetes-list-type` was added as part of the generated CRDs. Signed-off-by: Flavio Fernandes <ffernandes@nvidia.com>
- Loading branch information
1 parent
1c8b933
commit 4065215
Showing
6 changed files
with
84 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.13.0 | ||
name: ipamclaims.k8s.cni.cncf.io | ||
spec: | ||
group: k8s.cni.cncf.io | ||
names: | ||
kind: IPAMClaim | ||
listKind: IPAMClaimList | ||
plural: ipamclaims | ||
singular: ipamclaim | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: IPAMClaim is the Schema for the IPAMClaim API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
interface: | ||
description: The pod interface name for which this allocation was | ||
created | ||
type: string | ||
network: | ||
description: The network name for which this persistent allocation | ||
was created | ||
type: string | ||
required: | ||
- interface | ||
- network | ||
type: object | ||
status: | ||
properties: | ||
ips: | ||
description: The list of IP addresses (v4, v6) that were allocated | ||
for the pod interface | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- ips | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters