Skip to content

Commit

Permalink
Run go generate in clusterapi
Browse files Browse the repository at this point in the history
Generate CRDs and deepcopy.
  • Loading branch information
justinsb committed Nov 9, 2023
1 parent 6b1c6ac commit c7bf37f
Show file tree
Hide file tree
Showing 6 changed files with 764 additions and 0 deletions.
195 changes: 195 additions & 0 deletions 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.

66 changes: 66 additions & 0 deletions clusterapi/config/crds/bootstrap.cluster.x-k8s.io_kopsconfigs.yaml
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: {}
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: {}
Loading

0 comments on commit c7bf37f

Please sign in to comment.