-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtink-crossplane-resources.yaml
96 lines (95 loc) · 2.01 KB
/
tink-crossplane-resources.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# tink-provisioner.yaml
apiVersion: server.packet.crossplane.io/v1alpha2
kind: Device
metadata:
name: tink-provisioner
spec:
forProvider:
hostname: tink-provisioner
plan: c2.medium.x86
facility: sjc1
operatingSystem: ubuntu_20_04
billingCycle: hourly
hardware_reservation_id: next_available
locked: false
networkType: hybrid
tags:
- crossplane
- tinkerbell
- tbs
providerRef:
name: packet-provider
writeConnectionSecretToRef:
name: devices-creds
namespace: crossplane-system
reclaimPolicy: Delete
---
# vlan.yaml
apiVersion: vlan.packet.crossplane.io/v1alpha1
kind: VirtualNetwork
metadata:
spec:
forProvider:
description: Provisioning VLAN for Tinkerbell
facility: sjc1
providerRef:
name: packet-provider
---
# assign-vlan-provisioner.yaml
apiVersion: ports.packet.crossplane.io/v1alpha1
kind: Assignment
metadata:
name: assign-vlan-provisioner
spec:
forProvider:
deviceIdRef:
name: tink-provisioner
virtualNetworkIdRef:
name: tbs-vlan
name: eth1
providerRef:
name: packet-provider
---
# assign-vlan-worker-0.yaml
apiVersion: ports.packet.crossplane.io/v1alpha1
kind: Assignment
metadata:
name: assign-vlan-worker-0
spec:
forProvider:
deviceIdRef:
name: tink-worker-0
virtualNetworkIdRef:
name: tbs-vlan
name: eth1
providerRef:
name: packet-provider
---
# tink-worker-0.yaml
apiVersion: server.packet.crossplane.io/v1alpha2
kind: Device
metadata:
name: tink-worker-0
spec:
forProvider:
hostname: tink-worker-0
plan: c2.medium.x86
facility: sjc1
billingCycle: hourly
hardwareReservationID: next_available
operatingSystem: "custom_ipxe"
ipxeScriptUrl: https://boot.netboot.xyz
alwaysPXE: true
locked: false
networkType: layer2-individual
tags:
- crossplane
- tinkerbell
- tbs
providerRef:
name: packet-provider
writeConnectionSecretToRef:
name: devices-creds
namespace: crossplane-system
reclaimPolicy: Delete
---