Skip to content

Commit

Permalink
add resources needed for creating nfs cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
digna-ionos committed Oct 1, 2024
1 parent 10bcfa8 commit c3cb9ba
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions examples/nfs/cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
apiVersion: compute.ionoscloud.io/v1alpha1
kind: Datacenter
metadata:
annotations:
meta.upbound.io/example-id: asg/v1alpha1/autoscalinggroup
labels:
testing.upbound.io/example-name: datacenter_example
name: datacenter-example
spec:
forProvider:
location: de/txl
name: datacenter_example

---

apiVersion: compute.ionoscloud.io/v1alpha1
kind: Lan
metadata:
annotations:
meta.upbound.io/example-id: asg/v1alpha1/autoscalinggroup
labels:
testing.upbound.io/example-name: lan_example
name: lan-example
spec:
forProvider:
datacenterIdSelector:
matchLabels:
testing.upbound.io/example-name: datacenter_example
name: lan_example
public: false

---
apiVersion: nfs.ionoscloud.io/v1alpha1
kind: NFSCluster
metadata:
Expand All @@ -11,11 +43,11 @@ spec:
connections:
datacenterIdSelector:
matchLabels:
testing.upbound.io/example-name: example
testing.upbound.io/example-name: datacenter_example
ipAddress: 192.168.100.10/24
lanSelector:
matchLabels:
testing.upbound.io/example-name: example
testing.upbound.io/example-name: lan_example
location: de/txl
name: test
nfs:
Expand Down

0 comments on commit c3cb9ba

Please sign in to comment.