Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sebastienblanc/f24a4ac45bb61984e3fd586c81484c33 to your computer and use it in GitHub Desktop.
Save sebastienblanc/f24a4ac45bb61984e3fd586c81484c33 to your computer and use it in GitHub Desktop.
Name: civokubernetes.cluster.civo.crossplane.io
Namespace:
Labels: <none>
Annotations: controller-gen.kubebuilder.io/version: v0.3.0
API Version: apiextensions.k8s.io/v1
Kind: CustomResourceDefinition
Metadata:
Creation Timestamp: 2024-07-17T10:29:16Z
Generation: 1
Managed Fields:
API Version: apiextensions.k8s.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:controller-gen.kubebuilder.io/version:
f:ownerReferences:
.:
k:{"uid":"8b6462d1-bcb2-4657-8851-3198f97aa1a2"}:
k:{"uid":"9dd6e6b3-97e4-4884-92f4-644acffdc2d2"}:
f:spec:
f:conversion:
.:
f:strategy:
f:group:
f:names:
f:categories:
f:kind:
f:listKind:
f:plural:
f:singular:
f:scope:
f:versions:
Manager: crossplane
Operation: Update
Time: 2024-07-17T10:29:16Z
API Version: apiextensions.k8s.io/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
f:acceptedNames:
f:categories:
f:kind:
f:listKind:
f:plural:
f:singular:
f:conditions:
k:{"type":"Established"}:
.:
f:lastTransitionTime:
f:message:
f:reason:
f:status:
f:type:
k:{"type":"NamesAccepted"}:
.:
f:lastTransitionTime:
f:message:
f:reason:
f:status:
f:type:
Manager: k3s
Operation: Update
Time: 2024-07-17T10:29:16Z
Owner References:
API Version: pkg.crossplane.io/v1
Controller: true
Kind: ProviderRevision
Name: provider-civo-9dbccd3c9470
UID: 8b6462d1-bcb2-4657-8851-3198f97aa1a2
API Version: pkg.crossplane.io/v1
Block Owner Deletion: true
Controller: false
Kind: Provider
Name: provider-civo
UID: 9dd6e6b3-97e4-4884-92f4-644acffdc2d2
Resource Version: 7501
UID: c09cbf58-f8fd-4395-8c21-27ddaff7ecff
Spec:
Conversion:
Strategy: None
Group: cluster.civo.crossplane.io
Names:
Categories:
crossplane
managed
civo
Kind: CivoKubernetes
List Kind: CivoKubernetesList
Plural: civokubernetes
Singular: civokubernetes
Scope: Cluster
Versions:
Additional Printer Columns:
Json Path: .status.conditions[?(@.type=='Ready')].status
Name: READY
Type: string
Json Path: .status.message
Name: MESSAGE
Type: string
Json Path: .spec.applications
Name: APPLICATIONS
Type: string
Name: v1alpha1
Schema:
openAPIV3Schema:
Description: A CivoKubernetes is an example API type. Please replace `PROVIDER-NAME` with your actual provider name, like `aws`, `azure`, `gcp`, `alibaba`
Properties:
API Version:
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: A CivoKubernetesSpec defines the desired state of a CivoKubernetes.
Properties:
Applications:
Description: A list of applications to install from civo marketplace.
Items:
Type: string
Type: array
Cni:
Default: flannel
Description: NOTE: This can only be set at creation time. Changing this value after creation will not update the CNI.
Enum:
flannel
cilium
Type: string
Connection Details:
Description: CivoKubernetesConnectionDetails is the desired output secret to store connection information
Properties:
Connection Secret Name Prefix:
Type: string
Connection Secret Namespace:
Type: string
Required:
connectionSecretNamePrefix
connectionSecretNamespace
Type: object
Deletion Policy:
Description: DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. The "Delete" policy is the default when no policy is specified.
Enum:
Orphan
Delete
Type: string
Name:
Type: string
Pools:
Items:
Description: KubernetesClusterPoolConfig is used to create a new cluster pool
Properties:
Count:
Type: integer
Id:
Type: string
Size:
Type: string
Type: object
Type: array
Provider Config Ref:
Description: ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Properties:
Name:
Description: Name of the referenced object.
Type: string
Required:
name
Type: object
Provider Ref:
Description: ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`
Properties:
Name:
Description: Name of the referenced object.
Type: string
Required:
name
Type: object
Version:
Default: 1.22.2-k3s1
Description: If not set, the default kubernetes version(1.22.2-k31) will be used. If set, the value must be a valid kubernetes version, you can use the following command to get the valid versions: `civo k3s versions` Changing the version to a higher version will upgrade the cluster. Note that this may cause breaking changes to the Kubernetes API so please check kubernetes deprecations/mitigations before upgrading.
Type: string
Write Connection Secret To Ref:
Description: WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
Properties:
Name:
Description: Name of the secret.
Type: string
Namespace:
Description: Namespace of the secret.
Type: string
Required:
name
namespace
Type: object
Required:
connectionDetails
name
pools
Type: object
Status:
Description: A CivoKubernetesStatus represents the observed state of a CivoKubernetes.
Properties:
At Provider:
Description: CivoKubernetesObservation are the observable fields of a CivoKubernetes.
Properties:
Observable Field:
Type: string
Type: object
Conditions:
Description: Conditions of the resource.
Items:
Description: A Condition that may apply to a resource.
Properties:
Last Transition Time:
Description: LastTransitionTime is the last time this condition transitioned from one status to another.
Format: date-time
Type: string
Message:
Description: A Message containing details about this condition's last transition from one status to another, if any.
Type: string
Reason:
Description: A Reason for this condition's last transition from one status to another.
Type: string
Status:
Description: Status of this condition; is it currently True, False, or Unknown?
Type: string
Type:
Description: Type of this condition. At most one of each condition type may apply to a resource at any point in time.
Type: string
Required:
lastTransitionTime
reason
status
type
Type: object
Type: array
Message:
Type: string
Required:
message
Type: object
Required:
spec
Type: object
Served: true
Storage: true
Subresources:
Status:
Status:
Accepted Names:
Categories:
crossplane
managed
civo
Kind: CivoKubernetes
List Kind: CivoKubernetesList
Plural: civokubernetes
Singular: civokubernetes
Conditions:
Last Transition Time: 2024-07-17T10:29:16Z
Message: no conflicts found
Reason: NoConflicts
Status: True
Type: NamesAccepted
Last Transition Time: 2024-07-17T10:29:16Z
Message: the initial names have been accepted
Reason: InitialNamesAccepted
Status: True
Type: Established
Stored Versions:
v1alpha1
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment