Skip to content

Commit

Permalink
Update capi crd and add karpenter crds
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jun 7, 2024
1 parent 3678251 commit 8ff3f16
Show file tree
Hide file tree
Showing 134 changed files with 18,015 additions and 6,509 deletions.
4 changes: 4 additions & 0 deletions cmd/import-crds/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ go run cmd/import-crds/main.go --input=$HOME/go/src/sigs.k8s.io/cluster-api-prov
go run cmd/import-crds/main.go --input=$HOME/go/src/sigs.k8s.io/cluster-api-provider-azure/config/crd/bases
go run cmd/import-crds/main.go --input=$HOME/go/src/sigs.k8s.io/cluster-api-provider-gcp/config/crd/bases
# karpenter
go run cmd/import-crds/main.go --input=$HOME/go/src/github.com/aws/karpenter-provider-aws/pkg/apis/crds
go run cmd/import-crds/main.go --input=$HOME/go/src/github.com/Azure/karpenter-provider-azure/pkg/apis/crds
# crossplane
go run cmd/import-crds/main.go --input=$HOME/go/src/github.com/crossplane/crossplane/cluster/crds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,26 @@ spec:
version: v1alpha3
validation:
openAPIV3Schema:
description: "ClusterResourceSetBinding lists all matching ClusterResourceSets
with the cluster it belongs to. \n Deprecated: This type will be removed in
one of the next releases."
description: |-
ClusterResourceSetBinding lists all matching ClusterResourceSets with the cluster it belongs to.
Deprecated: This type will be removed in one of the next releases.
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'
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'
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:
properties:
Expand Down Expand Up @@ -91,10 +98,9 @@ spec:
to the cluster or not.
type: boolean
hash:
description: Hash is the hash of a resource's data. This
can be used to decide if a resource is changed. For "ApplyOnce"
ClusterResourceSet.spec.strategy, this is no-op as that
strategy does not act on change.
description: |-
Hash is the hash of a resource's data. This can be used to decide if a resource is changed.
For "ApplyOnce" ClusterResourceSet.spec.strategy, this is no-op as that strategy does not act on change.
type: string
kind:
description: 'Kind of the resource. Supported kinds are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,26 @@ spec:
version: v1alpha3
validation:
openAPIV3Schema:
description: "ClusterResourceSet is the Schema for the clusterresourcesets API.
\n Deprecated: This type will be removed in one of the next releases."
description: |-
ClusterResourceSet is the Schema for the clusterresourcesets API.
Deprecated: This type will be removed in one of the next releases.
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'
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'
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:
properties:
Expand Down Expand Up @@ -67,50 +75,54 @@ spec:
description: ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
properties:
clusterSelector:
description: Label selector for Clusters. The Clusters that are selected
by this will be the ones affected by this ClusterResourceSet. It must
match the Cluster labels. This field is immutable.
description: |-
Label selector for Clusters. The Clusters that are
selected by this will be the ones affected by this ClusterResourceSet.
It must match the Cluster labels. This field is immutable.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that contains
values, a key, and an operator that relates the key and values.
description: |-
A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship to a
set of values. Valid operators are In, NotIn, Exists and
DoesNotExist.
description: |-
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string values. If the operator
is In or NotIn, the values array must be non-empty. If the
operator is Exists or DoesNotExist, the values array must
be empty. This array is replaced during a strategic merge
patch.
description: |-
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator is
"In", and the values array contains only "value". The requirements
are ANDed.
description: |-
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
resources:
description: Resources is a list of Secrets/ConfigMaps where each contains
1 or more resources to be applied to remote clusters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,26 @@ spec:
version: v1alpha4
validation:
openAPIV3Schema:
description: "ClusterResourceSetBinding lists all matching ClusterResourceSets
with the cluster it belongs to. \n Deprecated: This type will be removed in
one of the next releases."
description: |-
ClusterResourceSetBinding lists all matching ClusterResourceSets with the cluster it belongs to.
Deprecated: This type will be removed in one of the next releases.
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'
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'
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:
properties:
Expand Down Expand Up @@ -91,10 +98,9 @@ spec:
to the cluster or not.
type: boolean
hash:
description: Hash is the hash of a resource's data. This
can be used to decide if a resource is changed. For "ApplyOnce"
ClusterResourceSet.spec.strategy, this is no-op as that
strategy does not act on change.
description: |-
Hash is the hash of a resource's data. This can be used to decide if a resource is changed.
For "ApplyOnce" ClusterResourceSet.spec.strategy, this is no-op as that strategy does not act on change.
type: string
kind:
description: 'Kind of the resource. Supported kinds are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,26 @@ spec:
version: v1alpha4
validation:
openAPIV3Schema:
description: "ClusterResourceSet is the Schema for the clusterresourcesets API.
\n Deprecated: This type will be removed in one of the next releases."
description: |-
ClusterResourceSet is the Schema for the clusterresourcesets API.
Deprecated: This type will be removed in one of the next releases.
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'
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'
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:
properties:
Expand Down Expand Up @@ -67,51 +75,55 @@ spec:
description: ClusterResourceSetSpec defines the desired state of ClusterResourceSet.
properties:
clusterSelector:
description: Label selector for Clusters. The Clusters that are selected
by this will be the ones affected by this ClusterResourceSet. It must
match the Cluster labels. This field is immutable. Label selector
cannot be empty.
description: |-
Label selector for Clusters. The Clusters that are
selected by this will be the ones affected by this ClusterResourceSet.
It must match the Cluster labels. This field is immutable.
Label selector cannot be empty.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that contains
values, a key, and an operator that relates the key and values.
description: |-
A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship to a
set of values. Valid operators are In, NotIn, Exists and
DoesNotExist.
description: |-
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
type: string
values:
description: values is an array of string values. If the operator
is In or NotIn, the values array must be non-empty. If the
operator is Exists or DoesNotExist, the values array must
be empty. This array is replaced during a strategic merge
patch.
description: |-
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator is
"In", and the values array contains only "value". The requirements
are ANDed.
description: |-
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
type: object
type: object
x-kubernetes-map-type: atomic
resources:
description: Resources is a list of Secrets/ConfigMaps where each contains
1 or more resources to be applied to remote clusters.
Expand Down
Loading

0 comments on commit 8ff3f16

Please sign in to comment.