CrunchyBridgeCluster - v1beta1

CrunchyBridgeCluster

CrunchyBridgeCluster is the Schema for the crunchybridgeclusters API

nametyperequireddescription
apiVersionstring✅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
kindstring✅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
metadataobject✅Kubernetes resource namespace, name, labels, and annotations
specobject❌CrunchyBridgeClusterSpec defines the desired state of CrunchyBridgeCluster to be managed by Crunchy Data Bridge
statusobject❌CrunchyBridgeClusterStatus defines the observed state of CrunchyBridgeCluster

↩ ParentCrunchyBridgeCluster.spec

CrunchyBridgeClusterSpec defines the desired state of CrunchyBridgeCluster to be managed by Crunchy Data Bridge

nametyperequireddescription
clusterNamestring✅The name of the cluster --- According to Bridge API/GUI errors, "Field name should be between 5 and 50 characters in length, containing only unicode characters, unicode numbers, hyphens, spaces, or underscores, and starting with a character", and ending with a character or number.
isHaboolean✅Whether the cluster is high availability, meaning that it has a secondary it can fail over to quickly in case the primary becomes unavailable.
isProtectedboolean❌Whether the cluster is protected. Protected clusters can't be destroyed until their protected flag is removed
majorVersioninteger✅The ID of the cluster's major Postgres version. Currently Bridge offers 13-16
metadataobject❌Metadata contains metadata for custom resources
planstring✅The ID of the cluster's plan. Determines instance, CPU, and memory.
provideraws, azure, gcp✅The cloud provider where the cluster is located. Currently Bridge offers aws, azure, and gcp only
regionstring✅The provider region where the cluster is located.
roles[]object❌Roles for which to create Secrets that contain their credentials which are retrieved from the Bridge API. An empty list creates no role secrets. Removing a role from this list does NOT drop the role nor revoke their access, but it will delete that role's secret from the kube cluster.
secretstring✅The name of the secret containing the API key and team id
storageint or string✅The amount of storage available to the cluster in gigabytes. The amount must be an integer, followed by Gi (gibibytes) or G (gigabytes) to match Kubernetes conventions. If the amount is given in Gi, we round to the nearest G value. The minimum value allowed by Bridge is 10 GB. The maximum value allowed by Bridge is 65535 GB.

↩ ParentCrunchyBridgeCluster.spec.metadata

Metadata contains metadata for custom resources

nametyperequireddescription
annotationsmap[string]: string❌undefined
labelsmap[string]: string❌undefined

↩ ParentCrunchyBridgeCluster.spec.roles[index]

Roles for which to create Secrets that contain their credentials which are retrieved from the Bridge API. An empty list creates no role secrets. Removing a role from this list does NOT drop the role nor revoke their access, but it will delete that role's secret from the kube cluster.

nametyperequireddescription
namestring✅Name of the role within Crunchy Bridge. More info: https://docs.crunchybridge.com/concepts/users
secretNamestring✅The name of the Secret that will hold the role credentials.

↩ ParentCrunchyBridgeCluster.status

CrunchyBridgeClusterStatus defines the observed state of CrunchyBridgeCluster

nametyperequireddescription
conditions[]object❌conditions represent the observations of postgres cluster's current state.
hoststring❌The Hostname of the postgres cluster in Bridge, provided by Bridge API and null until then.
idstring❌The ID of the postgres cluster in Bridge, provided by Bridge API and null until then.
isHaboolean❌Whether the cluster is high availability, meaning that it has a secondary it can fail over to quickly in case the primary becomes unavailable.
isProtectedboolean❌Whether the cluster is protected. Protected clusters can't be destroyed until their protected flag is removed
majorVersioninteger❌The cluster's major Postgres version.
namestring❌The name of the cluster in Bridge.
observedGenerationinteger❌observedGeneration represents the .metadata.generation on which the status was based.
ongoingUpgrade[]object❌The cluster upgrade as represented by Bridge
planstring❌The ID of the cluster's plan. Determines instance, CPU, and memory.
responsesobject❌Most recent, raw responses from Bridge API
statestring❌State of cluster in Bridge.
storageint or string❌The amount of storage available to the cluster.

↩ ParentCrunchyBridgeCluster.status.conditions[index]

conditions represent the observations of postgres cluster's current state.

nametyperequireddescription
lastTransitionTimestring✅lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
messagestring✅message is a human readable message indicating details about the transition. This may be an empty string.
observedGenerationinteger❌observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reasonstring✅reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
statusTrue, False, Unknown✅status of the condition, one of True, False, Unknown.
typestring✅type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

↩ ParentCrunchyBridgeCluster.status.ongoingUpgrade[index]

The cluster upgrade as represented by Bridge

nametyperequireddescription
flavorstring✅undefined
starting_fromstring✅undefined
statestring✅undefined