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

Fix MSSQLServerDNSAlias and add examples #58

Closed
wants to merge 1 commit into from
Closed
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
60 changes: 60 additions & 0 deletions examples/sql/mssqlserverdnsalias.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
apiVersion: sql.azure.upbound.io/v1beta1
kind: MSSQLServerDNSAlias
metadata:
annotations:
meta.upbound.io/example-id: sql/v1beta1/mssqlserverdnsalias
labels:
testing.upbound.io/example-name: example-dns-alias
name: example-dns-alias
spec:
forProvider:
mssqlServerIdSelector:
matchLabels:
testing.upbound.io/example-name: example-dns-alias

---

apiVersion: sql.azure.upbound.io/v1beta1
kind: MSSQLServer
metadata:
annotations:
meta.upbound.io/example-id: sql/v1beta1/mssqlserverdnsalias
labels:
testing.upbound.io/example-name: example-dns-alias
name: ${Rand.RFC1123Subdomain}-dns-alias
spec:
forProvider:
administratorLogin: missadministrator
administratorLoginPasswordSecretRef:
key: password
name: example-secret
namespace: upbound-system
location: West Europe
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example-dns-alias
version: "12.0"

---

apiVersion: azure.upbound.io/v1beta1
kind: ResourceGroup
metadata:
annotations:
meta.upbound.io/example-id: sql/v1beta1/mssqlserverdnsalias
labels:
testing.upbound.io/example-name: example-dns-alias
name: example-dns-alias-${Rand.RFC1123Subdomain}
spec:
forProvider:
location: West Europe

---
apiVersion: v1
kind: Secret
metadata:
name: example-secret
namespace: upbound-system
type: Opaque
data:
password: dGVzdFBhc3N3b3JkITEyMw== # testPassword!123