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

Add uptestable example for PrivateDNSZoneVirtualNetworkLink #829

Merged
merged 1 commit into from
Oct 1, 2024
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
70 changes: 63 additions & 7 deletions examples/network/v1beta1/privatednszonevirtualnetworklink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,68 @@
apiVersion: network.azure.upbound.io/v1beta1
kind: PrivateDNSZoneVirtualNetworkLink
metadata:
name: example
annotations:
meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink
labels:
testing.upbound.io/example-name: example
name: example-test-pdzvnl
spec:
forProvider:
privateDnsZoneNameRef:
name: example
resourceGroupNameRef:
name: example
virtualNetworkIdRef:
name: example
registrationEnabled: true
privateDnsZoneName: example.com
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
virtualNetworkIdSelector:
matchLabels:
testing.upbound.io/example-name: example

---

apiVersion: network.azure.upbound.io/v1beta2
kind: PrivateDNSZone
metadata:
annotations:
meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink
crossplane.io/external-name: example.com
labels:
testing.upbound.io/example-name: example
name: example-test-pdzvnl
spec:
forProvider:
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example

---

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

---

apiVersion: network.azure.upbound.io/v1beta2
kind: VirtualNetwork
metadata:
annotations:
meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink
labels:
testing.upbound.io/example-name: example
name: example-test-pdzvnl
spec:
forProvider:
addressSpace:
- 10.0.0.0/16
location: West Europe
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
Loading