Skip to content

Instantly share code, notes, and snippets.

@honza
Created February 26, 2019 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save honza/eb344a8c0cf7155c394d3fc88639b0e9 to your computer and use it in GitHub Desktop.
Save honza/eb344a8c0cf7155c394d3fc88639b0e9 to your computer and use it in GitHub Desktop.
{
"apiVersion": "v1",
"items": [
{
"apiVersion": "metalkube.org/v1alpha1",
"kind": "BareMetalHost",
"metadata": {
"annotations": {
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"metalkube.org/v1alpha1\",\"kind\":\"BareMetalHost\",\"metadata\":{\"annotations\":{},\"name\":\"example-baremetalhost\",\"namespace\":\"bmo-project\"},\"spec\":{\"bmc\":{\"credentialsName\":\"bmc1-secret\",\"ip\":\"192.168.100.100\"},\"online\":true}}\n"
},
"creationTimestamp": "2019-02-25T15:41:21Z",
"finalizers": [
"baremetalhost.metalkube.org"
],
"generation": 1,
"labels": {
"metalkube.org/hardware-profile": "unknown",
"metalkube.org/operational-status": "online"
},
"name": "example-baremetalhost",
"namespace": "bmo-project",
"resourceVersion": "4439619",
"selfLink": "/apis/metalkube.org/v1alpha1/namespaces/bmo-project/baremetalhosts/example-baremetalhost",
"uid": "ccd630e1-3913-11e9-92f7-fa163e739329"
},
"spec": {
"bmc": {
"credentialsName": "bmc1-secret",
"ip": "192.168.100.100"
},
"online": true
},
"status": {
"errorMessage": "",
"goodCredentials": {
"credentials": {
"name": "bmc1-secret",
"namespace": "bmo-project"
},
"credentialsVersion": "4439611"
},
"hardware": {
"cpus": null,
"nics": null,
"ramGiB": 0,
"storage": null
},
"image": "",
"lastUpdated": "2019-02-25T19:07:24Z",
"provisioningID": ""
}
}
],
"kind": "List",
"metadata": {
"resourceVersion": "",
"selfLink": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment