-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate CRDs and deepcopy.
- Loading branch information
Showing
6 changed files
with
764 additions
and
0 deletions.
There are no files selected for viewing
195 changes: 195 additions & 0 deletions
195
clusterapi/bootstrap/kops/api/v1beta1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
66 changes: 66 additions & 0 deletions
66
clusterapi/config/crds/bootstrap.cluster.x-k8s.io_kopsconfigs.yaml
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,66 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: kopsconfigs.bootstrap.cluster.x-k8s.io | ||
spec: | ||
group: bootstrap.cluster.x-k8s.io | ||
names: | ||
categories: | ||
- cluster-api | ||
kind: KopsConfig | ||
listKind: KopsConfigList | ||
plural: kopsconfigs | ||
singular: kopsconfig | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Cluster | ||
jsonPath: .metadata.labels['cluster\.x-k8s\.io/cluster-name'] | ||
name: Cluster | ||
type: string | ||
- description: Time duration since creation of KopsConfig | ||
jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: KopsConfig is the Schema for the kopsconfigs 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: | ||
description: KopsConfigSpec defines the desired state of KopsConfig. Either | ||
ClusterConfiguration and InitConfiguration should be defined or the | ||
JoinConfiguration should be defined. | ||
type: object | ||
status: | ||
description: KopsConfigStatus defines the observed state of KopsConfig. | ||
properties: | ||
dataSecretName: | ||
description: DataSecretName is the name of the secret that stores | ||
the bootstrap data script. | ||
type: string | ||
ready: | ||
description: Ready indicates the BootstrapData field is ready to be | ||
consumed | ||
type: boolean | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
81 changes: 81 additions & 0 deletions
81
clusterapi/config/crds/bootstrap.cluster.x-k8s.io_kopsconfigtemplates.yaml
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,81 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: kopsconfigtemplates.bootstrap.cluster.x-k8s.io | ||
spec: | ||
group: bootstrap.cluster.x-k8s.io | ||
names: | ||
categories: | ||
- cluster-api | ||
kind: KopsConfigTemplate | ||
listKind: KopsConfigTemplateList | ||
plural: kopsconfigtemplates | ||
singular: kopsconfigtemplate | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Time duration since creation of KopsConfigTemplate | ||
jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: KopsConfigTemplate is the Schema for the kopsconfigtemplates | ||
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: | ||
description: KopsConfigTemplateSpec defines the desired state of KopsConfigTemplate. | ||
properties: | ||
template: | ||
description: KopsConfigTemplateResource defines the Template structure. | ||
properties: | ||
metadata: | ||
description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata' | ||
properties: | ||
annotations: | ||
additionalProperties: | ||
type: string | ||
description: 'Annotations is an unstructured key value map | ||
stored with a resource that may be set by external tools | ||
to store and retrieve arbitrary metadata. They are not queryable | ||
and should be preserved when modifying objects. More info: | ||
http://kubernetes.io/docs/user-guide/annotations' | ||
type: object | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: 'Map of string keys and values that can be used | ||
to organize and categorize (scope and select) objects. May | ||
match selectors of replication controllers and services. | ||
More info: http://kubernetes.io/docs/user-guide/labels' | ||
type: object | ||
type: object | ||
spec: | ||
description: KopsConfigSpec defines the desired state of KopsConfig. | ||
Either ClusterConfiguration and InitConfiguration should be | ||
defined or the JoinConfiguration should be defined. | ||
type: object | ||
type: object | ||
required: | ||
- template | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: {} |
Oops, something went wrong.