Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove manual intervention annotation from dbformysql.Server example #93

Merged
merged 1 commit into from
Dec 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: resource-group-${Rand.RFC1123Subdomain}
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}