This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Create a [Equinix Metal Project and a project level API key](https://metal.equin
6666Create a Kubernetes secret with the API Key and Project ID.
6767
6868``` bash
69- kubectl create -n crossplane-system secret generic packet-creds -- from-file=key =<( echo ' {"apiKey":"' $APIKEY ' ", "projectID":"' $PROJECT_ID ' "}' )
69+ kubectl create -n crossplane-system secret generic -- from-file=credentials =<( echo ' {"apiKey":"' $APIKEY ' ", "projectID":"' $PROJECT_ID ' "}' ) metal-creds
7070```
7171
7272### Create a Provider record
8585 source: Secret
8686 secretRef:
8787 namespace: crossplane-system
88- name: packet -creds
89- key: key
88+ name: metal -creds
89+ key: credentials
9090EOS
9191```
9292
@@ -127,7 +127,7 @@ To view the device in the cluster:
127127``` bash
128128$ kubectl get equinix -o wide
129129NAME PROJECT-ID AGE SECRET-NAME
130- provider.metal.equinix.com/packet-provider 0ac84673-b679-40c1-9de9-8a8792675515 38m packet -creds
130+ provider.metal.equinix.com/packet-provider 0ac84673-b679-40c1-9de9-8a8792675515 38m metal -creds
131131
132132NAME READY SYNCED STATE ID HOSTNAME FACILITY IPV4 RECLAIM-POLICY AGE
133133device.server.metal.equinix.com/devices True True active 1c73767a-e16a-485c-89b4-4b553e1458b3 crossplane sjc1 139.178.88.35 Delete 19m
Original file line number Diff line number Diff line change 1010 virtualNetworkIdRef :
1111 name : xp-vlan
1212 name : eth1
13- providerRef :
13+ providerConfigRef :
1414 name : equinix-metal-provider
Original file line number Diff line number Diff line change 1515 networkType : hybrid
1616 tags :
1717 - crossplane
18- providerRef :
18+ providerConfigRef :
1919 name : equinix-metal-provider
2020 writeConnectionSecretToRef :
2121 name : crossplane-example
Original file line number Diff line number Diff line change 77 forProvider :
88 description : Example Crossplane provisioned VLAN
99 facility : sv15
10- providerRef :
10+ providerConfigRef :
1111 name : equinix-metal-provider
You can’t perform that action at this time.
0 commit comments