-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #231 from francostellari/crds
✨ Separate CRDs
- Loading branch information
Showing
4 changed files
with
270 additions
and
270 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
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,266 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.3 | ||
creationTimestamp: null | ||
name: controlplanes.tenancy.kflex.kubestellar.org | ||
spec: | ||
group: tenancy.kflex.kubestellar.org | ||
names: | ||
kind: ControlPlane | ||
listKind: ControlPlaneList | ||
plural: controlplanes | ||
shortNames: | ||
- cp | ||
- cps | ||
singular: controlplane | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.conditions[?(@.type=='Synced')].status | ||
name: SYNCED | ||
type: string | ||
- jsonPath: .status.conditions[?(@.type=='Ready')].status | ||
name: READY | ||
type: string | ||
- jsonPath: .spec.type | ||
name: TYPE | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: AGE | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ControlPlane is the Schema for the controlplanes 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: ControlPlaneSpec defines the desired state of ControlPlane | ||
properties: | ||
backend: | ||
enum: | ||
- shared | ||
- dedicated | ||
type: string | ||
postCreateHook: | ||
type: string | ||
postCreateHookVars: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
type: | ||
enum: | ||
- k8s | ||
- ocm | ||
- vcluster | ||
- host | ||
type: string | ||
type: object | ||
status: | ||
description: ControlPlaneStatus defines the observed state of ControlPlane | ||
properties: | ||
conditions: | ||
items: | ||
description: ControlPlaneCondition describes the state of a control | ||
plane at a certain point. | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
lastUpdateTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- lastUpdateTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
postCreateHooks: | ||
additionalProperties: | ||
type: boolean | ||
type: object | ||
secretRef: | ||
description: SecretRef contains a referece to the secret containing | ||
the Kubeconfig for the control plane | ||
properties: | ||
inClusterKey: | ||
description: Required | ||
type: string | ||
key: | ||
description: Required | ||
type: string | ||
name: | ||
description: '`name` is the name of the secret. Required' | ||
type: string | ||
namespace: | ||
description: '`namespace` is the namespace of the secret. Required' | ||
type: string | ||
required: | ||
- inClusterKey | ||
- key | ||
- name | ||
- namespace | ||
type: object | ||
required: | ||
- conditions | ||
- observedGeneration | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.3 | ||
creationTimestamp: null | ||
name: postcreatehooks.tenancy.kflex.kubestellar.org | ||
spec: | ||
group: tenancy.kflex.kubestellar.org | ||
names: | ||
kind: PostCreateHook | ||
listKind: PostCreateHookList | ||
plural: postcreatehooks | ||
shortNames: | ||
- pch | ||
- pchs | ||
singular: postcreatehook | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.conditions[?(@.type=='Synced')].status | ||
name: SYNCED | ||
type: string | ||
- jsonPath: .status.conditions[?(@.type=='Ready')].status | ||
name: READY | ||
type: string | ||
- jsonPath: .spec.type | ||
name: TYPE | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: AGE | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: PostCreateHook is the Schema for the controlplanes 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: PostCreateHookSpec defines the desired state of PostCreateHook | ||
properties: | ||
templates: | ||
items: | ||
description: Manifest represents a resource to be deployed | ||
type: object | ||
x-kubernetes-embedded-resource: true | ||
x-kubernetes-preserve-unknown-fields: true | ||
type: array | ||
type: object | ||
status: | ||
description: PostCreateHookStatus defines the observed state of PostCreateHook | ||
properties: | ||
conditions: | ||
items: | ||
description: ControlPlaneCondition describes the state of a control | ||
plane at a certain point. | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
lastUpdateTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- lastUpdateTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
secretRef: | ||
description: SecretRef contains a referece to the secret containing | ||
the Kubeconfig for the control plane | ||
properties: | ||
inClusterKey: | ||
description: Required | ||
type: string | ||
key: | ||
description: Required | ||
type: string | ||
name: | ||
description: '`name` is the name of the secret. Required' | ||
type: string | ||
namespace: | ||
description: '`namespace` is the namespace of the secret. Required' | ||
type: string | ||
required: | ||
- inClusterKey | ||
- key | ||
- name | ||
- namespace | ||
type: object | ||
required: | ||
- conditions | ||
- observedGeneration | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.