A PostgreSQLServer is a managed resource that represents an Azure PostgreSQL Database Server.
Type
CRD
Group
database.azure.crossplane.io
Version
v1beta1
apiVersion: database.azure.crossplane.io/v1beta1
kind: PostgreSQLServer
A SQLServerSpec defines the desired state of a SQLServer.
SQLServerParameters define the desired state of an Azure SQL Database, either PostgreSQL or MySQL.
ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name
ResourceGroupNameSelector - A selector for a ResourceGroup object to retrieve its name
StorageProfile - Storage profile of a server.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
PublishConnectionDetailsTo 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.
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. 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.
A SQLServerStatus represents the observed state of a SQLServer.
SQLServerObservation represents the current state of Azure SQL resource.
LastOperation represents the state of the last operation started by the controller.
Conditions of the resource.
example-psql
apiVersion: database.azure.crossplane.io/v1beta1
kind: PostgreSQLServer
metadata:
labels:
example: "true"
name: example-psql
spec:
forProvider:
administratorLogin: myadmin
location: West US 2
minimalTlsVersion: TLS1_2
resourceGroupNameRef:
name: example-rg
sku:
capacity: 2
family: Gen5
tier: GeneralPurpose
sslEnforcement: Enabled
storageProfile:
storageMB: 20480
version: "9.6"
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: example-psql
namespace: crossplane-system
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.