Skip to content

Commit

Permalink
Remove manual intervention annotation from dbformysql.Server example
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Dec 19, 2022
1 parent 5a66d8e commit af8a5c6
Showing 1 changed file with 38 additions and 5 deletions.
43 changes: 38 additions & 5 deletions examples/dbformysql/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,58 @@ apiVersion: dbformysql.azure.upbound.io/v1beta1
kind: Server
metadata:
annotations:
upjet.upbound.io/manual-intervention: "The resource needs valid kubernetes secret."
name: example
meta.upbound.io/example-id: dbformysql/v1beta1/server
name: example-${Rand.RFC1123Subdomain}
spec:
writeConnectionSecretToRef:
name: server-creds
namespace: upbound-system
forProvider:
administratorLogin: mysqladminun
administratorLoginPasswordSecretRef:
key: example-key
name: example-secret
namespace: crossplane-system
namespace: upbound-system
autoGrowEnabled: true
backupRetentionDays: 7
geoRedundantBackupEnabled: false
infrastructureEncryptionEnabled: false
location: West Europe
publicNetworkAccessEnabled: true
resourceGroupNameRef:
name: example
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example-dbformysql-server
skuName: GP_Gen5_2
sslEnforcementEnabled: true
sslMinimalTlsVersionEnforced: TLS1_2
storageMb: 5120
version: "5.7"

---

apiVersion: azure.upbound.io/v1beta1
kind: ResourceGroup
metadata:
annotations:
meta.upbound.io/example-id: dbformysql/v1beta1/server
labels:
testing.upbound.io/example-name: example-dbformysql-server
name: example-dbformysql-server
spec:
forProvider:
location: West Europe

---

apiVersion: v1
kind: Secret
metadata:
annotations:
meta.upbound.io/example-id: dbformysql/v1beta1/server
labels:
testing.upbound.io/example-name: example-secret
name: example-secret
namespace: upbound-system
type: Opaque
stringData:
example-key: Upbound123!-${Rand.RFC1123Subdomain}

0 comments on commit af8a5c6

Please sign in to comment.