Skip to search

CrunchyBridgeCluster

postgres-operator.crunchydata.com / v1beta1

apiVersion: postgres-operator.crunchydata.com/v1beta1 kind: CrunchyBridgeCluster metadata: name: example
View raw schema
apiVersion string
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
kind string
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
metadata object
spec object
CrunchyBridgeClusterSpec defines the desired state of CrunchyBridgeCluster to be managed by Crunchy Data Bridge
clusterName string required
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.
pattern: ^[A-Za-z][A-Za-z0-9\-_ ]*[A-Za-z0-9]$
minLength: 5
maxLength: 50
isHa boolean required
Whether the cluster is high availability, meaning that it has a secondary it can fail over to quickly in case the primary becomes unavailable.
majorVersion integer required
The ID of the cluster's major Postgres version. Currently Bridge offers 13-16
minimum: 13
maximum: 16
metadata object
Metadata contains metadata for custom resources
annotations object
labels object
plan string required
The ID of the cluster's plan. Determines instance, CPU, and memory.
provider string required
The cloud provider where the cluster is located. Currently Bridge offers aws, azure, and gcp only
enum: aws, azure, gcp
region string required
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.
name string required
Name of the role within Crunchy Bridge. More info: https://docs.crunchybridge.com/concepts/users
secretName string required
The name of the Secret that will hold the role credentials.
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
maxLength: 253
secret string
The name of the secret containing the API key and team id
storage string | integer required
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.
string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
status object
CrunchyBridgeClusterStatus defines the observed state of CrunchyBridgeCluster
conditions []object
conditions represent the observations of postgres cluster's current state.
lastTransitionTime string required
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.
format: date-time
message string required
message is a human readable message indicating details about the transition. This may be an empty string.
maxLength: 32768
observedGeneration integer
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.
format: int64
minimum: 0
reason string required
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.
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
minLength: 1
maxLength: 1024
status string required
status of the condition, one of True, False, Unknown.
enum: True, False, Unknown
type string required
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)
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
maxLength: 316
host string
The Hostname of the postgres cluster in Bridge, provided by Bridge API and null until then.
id string
The ID of the postgres cluster in Bridge, provided by Bridge API and null until then.
isHa boolean
Whether the cluster is high availability, meaning that it has a secondary it can fail over to quickly in case the primary becomes unavailable.
isProtected boolean
Whether the cluster is protected. Protected clusters can't be destroyed until their protected flag is removed
majorVersion integer
The cluster's major Postgres version.
name string
The name of the cluster in Bridge.
observedGeneration integer
observedGeneration represents the .metadata.generation on which the status was based.
format: int64
minimum: 0
ongoingUpgrade []object
The cluster upgrade as represented by Bridge
flavor string required
starting_from string required
state string required
plan string
The ID of the cluster's plan. Determines instance, CPU, and memory.
responses object
Most recent, raw responses from Bridge API
state string
State of cluster in Bridge.
storage string | integer
The amount of storage available to the cluster.
string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$

No matches. Try .spec.clusterName for an exact path