Server is the Schema for the Servers API. Manages a PostgreSQL Server.
Type
CRD
Group
dbforpostgresql.azure.upbound.io
Version
v1beta1
apiVersion: dbforpostgresql.azure.upbound.io/v1beta1
kind: Server
ServerSpec defines the desired state of Server
No description provided.
Reference to a ResourceGroup in azure to populate resourceGroupName.
Policies for referencing.
Selector for a ResourceGroup in azure to populate resourceGroupName.
Policies for selection.
Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.
Specifies a list of alerts which should be disabled. Possible values are Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration and Unsafe_Action.
A list of email addresses which alerts should be sent to.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.
Specifies a list of alerts which should be disabled. Possible values are Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration and Unsafe_Action.
A list of email addresses which alerts should be sent to.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. 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#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
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.
ServerStatus defines the observed state of Server.
No description provided.
An identity block as defined below.
Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.
Specifies a list of alerts which should be disabled. Possible values are Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration and Unsafe_Action.
A list of email addresses which alerts should be sent to.
Conditions of the resource.
example-backupinstancepostgresql
apiVersion: dbforpostgresql.azure.upbound.io/v1beta1
kind: Server
metadata:
annotations:
meta.upbound.io/example-id: dataprotection/v1beta1/backupinstancepostgresql
upjet.upbound.io/manual-intervention: This resource is skipping because the parent resource was skipped.
labels:
testing.upbound.io/example-name: example
name: example-backupinstancepostgresql
spec:
forProvider:
administratorLogin: psqladmin
administratorLoginPasswordSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
autoGrowEnabled: true
backupRetentionDays: 7
geoRedundantBackupEnabled: false
location: West Europe
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
skuName: B_Gen5_2
sslEnforcementEnabled: true
storageMb: 5120
version: "9.5"
example-psqlserver-upbound
apiVersion: dbforpostgresql.azure.upbound.io/v1beta1
kind: Server
metadata:
annotations:
meta.upbound.io/example-id: dbforpostgresql/v1beta1/activedirectoryadministrator
labels:
testing.upbound.io/example-name: example
name: example-psqlserver-upbound
spec:
forProvider:
administratorLogin: sqladmin
administratorLoginPasswordSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
location: West Europe
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
skuName: GP_Gen5_2
sslEnforcementEnabled: true
version: "9.6"
example-upbound-pg-single-server
apiVersion: dbforpostgresql.azure.upbound.io/v1beta1
kind: Server
metadata:
annotations:
crossplane.io/external-name: example-server-${Rand.RFC1123Subdomain}
labels:
testing.upbound.io/example-name: example
name: example-upbound-pg-single-server
spec:
forProvider:
administratorLogin: psqladmin
administratorLoginPasswordSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
geoRedundantBackupEnabled: false
identity:
- type: SystemAssigned
infrastructureEncryptionEnabled: false
location: West Europe
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example-dbforpostgresql
skuName: GP_Gen5_2
sslEnforcementEnabled: true
storageMb: 5120
version: "11"
writeConnectionSecretToRef:
name: example-connection-postgresqlserver
namespace: upbound-system
example-upbound-pg-single-server
apiVersion: dbforpostgresql.azure.upbound.io/v1beta1
kind: Server
metadata:
annotations:
meta.upbound.io/example-id: dbforpostgresql/v1beta1/server
labels:
testing.upbound.io/example-name: example
name: example-upbound-pg-single-server
spec:
forProvider:
administratorLogin: psqladmin
administratorLoginPasswordSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
autoGrowEnabled: true
backupRetentionDays: 7
geoRedundantBackupEnabled: true
location: West Europe
publicNetworkAccessEnabled: false
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
skuName: GP_Gen5_4
sslEnforcementEnabled: true
sslMinimalTlsVersionEnforced: TLS1_2
storageMb: 640000
version: "11"
example-server-for-database
apiVersion: dbforpostgresql.azure.upbound.io/v1beta1
kind: Server
metadata:
annotations:
meta.upbound.io/example-id: dbforpostgresql/v1beta1/database
labels:
testing.upbound.io/example-name: example
name: example-server-for-database
spec:
forProvider:
administratorLogin: psqladmin
administratorLoginPasswordSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
autoGrowEnabled: true
backupRetentionDays: 7
geoRedundantBackupEnabled: false
location: West Europe
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
skuName: B_Gen5_2
sslEnforcementEnabled: true
storageMb: 5120
version: "9.5"
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.