Mesh Custom Resource Definition
Mesh Custom Resource (CR) is used to define and configure Cennso Data Mesh (CDM) Signaling on a Core Cluster.
Configuration example
This is a sample Mesh CR that you can use to configure an APN called my-mesh on a Core Cluster named my-core-cluster, in a namespace called mesh-system, with a SINGLE mode, resource requests of 100m CPU and 128Mi memory, and persistence settings:
Configuration parameters
These are all parameters that you can use to configure the Mesh CR:
- MeshKind
- cdm.cennso.comGroup
- v1alpha1Version
- apiVersion:
- cdm.cennso.com/v1alpha1
- kind:
- Mesh
- listKind:
- MeshList
- plural:
- meshes
- singular:
- mesh
- categories:
- [crossplane, managed, cdm]
apiVersionstringrequiredConstant"cdm.cennso.com/v1alpha1"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 information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"Mesh"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 information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectrequiredA MeshSpec defines the desired state of a Mesh.forProviderobjectrequiredMeshParameters are the configurable fields of a Mesh.deletionPolicystringDeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223Opens in a new tab
Allowed values:"Orphan""Delete"managementPoliciesstring[]THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223Opens in a new tab and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.mdOpens in a new tab
providerConfigRefobjectProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.publishConnectionDetailsToobjectPublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config 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.writeConnectionSecretToRefobjectWriteConnectionSecretToReference 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. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
statusobjectA MeshStatus represents the observed state of a Mesh.atProviderobjectMeshObservation are the observable fields of a Mesh.conditionsobject[]Conditions of the resource.x-kubernetes-list-map-keysx-kubernetes-list-typeobservedGenerationintegerFormatint64ObservedGeneration is the latest metadata.generation which resulted in either a ready state, or stalled due to error it can not recover from without human intervention.