CrunchyBridgeCluster

CrunchyBridgeCluster

CrunchyBridgeCluster is the Schema for the crunchybridgeclusters API

nametyperequireddescription
apiVersionstringAPIVersion 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
kindstringKind 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
metadataobjectKubernetes resource namespace, name, labels, and annotations
specobjectCrunchyBridgeClusterSpec defines the desired state of CrunchyBridgeCluster to be managed by Crunchy Data Bridge
statusobjectCrunchyBridgeClusterStatus defines the observed state of CrunchyBridgeCluster

↩ ParentCrunchyBridgeCluster.spec

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

nametyperequireddescription
clusterNamestringThe 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.
isHabooleanWhether the cluster is high availability, meaning that it has a secondary it can fail over to quickly in case the primary becomes unavailable.
isProtectedbooleanWhether the cluster is protected. Protected clusters can't be destroyed until their protected flag is removed
majorVersionintegerThe ID of the cluster's major Postgres version. Currently Bridge offers 13-16
metadataobjectMetadata contains metadata for custom resources
planstringThe ID of the cluster's plan. Determines instance, CPU, and memory.
provideraws, azure, gcpThe cloud provider where the cluster is located. Currently Bridge offers aws, azure, and gcp only
regionstringThe provider region where the cluster is located.
roles[]objectRoles 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.
secretstringThe name of the secret containing the API key and team id
storageint or stringThe 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]: stringundefined
labelsmap[string]: stringundefined

↩ 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
namestringName of the role within Crunchy Bridge. More info: https://docs.crunchybridge.com/concepts/users
secretNamestringThe name of the Secret that will hold the role credentials.

↩ ParentCrunchyBridgeCluster.status

CrunchyBridgeClusterStatus defines the observed state of CrunchyBridgeCluster

nametyperequireddescription
conditions[]objectconditions represent the observations of postgres cluster's current state.
hoststringThe Hostname of the postgres cluster in Bridge, provided by Bridge API and null until then.
idstringThe ID of the postgres cluster in Bridge, provided by Bridge API and null until then.
isHabooleanWhether the cluster is high availability, meaning that it has a secondary it can fail over to quickly in case the primary becomes unavailable.
isProtectedbooleanWhether the cluster is protected. Protected clusters can't be destroyed until their protected flag is removed
majorVersionintegerThe cluster's major Postgres version.
namestringThe name of the cluster in Bridge.
observedGenerationintegerobservedGeneration represents the .metadata.generation on which the status was based.
ongoingUpgrade[]objectThe cluster upgrade as represented by Bridge
planstringThe ID of the cluster's plan. Determines instance, CPU, and memory.
responsesobjectMost recent, raw responses from Bridge API
statestringState of cluster in Bridge.
storageint or stringThe amount of storage available to the cluster.

↩ ParentCrunchyBridgeCluster.status.conditions[index]

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

nametyperequireddescription
lastTransitionTimestringlastTransitionTime 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.
messagestringmessage is a human readable message indicating details about the transition. This may be an empty string.
observedGenerationintegerobservedGeneration 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.
reasonstringreason 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, Unknownstatus of the condition, one of True, False, Unknown.
typestringtype 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
flavorstringundefined
starting_fromstringundefined
statestringundefined