Skip to content

Instantly share code, notes, and snippets.

@displague
Last active July 8, 2020 16:20
Show Gist options
  • Save displague/cbed973ce8925fa94c8db1250c5deae9 to your computer and use it in GitHub Desktop.
Save displague/cbed973ce8925fa94c8db1250c5deae9 to your computer and use it in GitHub Desktop.
crossplane-provider-packet example
apiVersion: packet.crossplane.io/v1alpha2
kind: Provider
metadata:
name: packet-provider
spec:
credentialsSecretRef:
key: key
name: packet-creds
namespace: packet-test
projectID: b12cc31b-170c-4986-bb55-2489f7c22a88
apiVersion: server.packet.crossplane.io/v1alpha2
kind: Device
metadata:
annotations:
crossplane.io/external-name: e6ee88dd-335c-4104-9eb1-c24339fca83a
finalizers:
- finalizer.managedresource.crossplane.io
name: devices
spec:
forProvider:
alwaysPXE: false
billingCycle: hourly
facility: any
hostname: crossplane
ipxeScriptUrl: ""
locked: false
operatingSystem: centos_7
plan: c1.small.x86
publicIPv4SubnetSize: 31
tags:
- crossplane
- development
- foo
userdata: ""
providerRef:
name: packet-provider
reclaimPolicy: Delete
writeConnectionSecretToRef:
name: devices-creds
namespace: packet-test
status:
atProvider:
facility: sjc1
href: /devices/e6ee88dd-335c-4104-9eb1-c24339fca83a
id: e6ee88dd-335c-4104-9eb1-c24339fca83a
ipv4: 139.178.88.75
locked: false
networkType: layer2-bonded
provisionPercentage: "0"
state: active
bindingPhase: Unbound
conditions:
- lastTransitionTime: "2020-07-08T03:57:08Z"
reason: Resource is available for use
status: "True"
type: Ready
- lastTransitionTime: "2020-07-08T10:56:22Z"
reason: Successfully reconciled managed resource
status: "True"
type: Synced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment