Skip to content

Commit

Permalink
WIP: Integrate baremetal-operator with machine-api-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasu committed Jul 9, 2019
1 parent c6eb133 commit 7a090bb
Show file tree
Hide file tree
Showing 10 changed files with 572 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ data:
"clusterAPIControllerOpenStack": "docker.io/openshift/origin-openstack-machine-controllers:v4.0.0",
"clusterAPIControllerLibvirt": "docker.io/openshift/origin-libvirt-machine-controllers:v4.0.0",
"clusterAPIControllerBareMetal": "quay.io/openshift/origin-baremetal-machine-controllers:v4.0.0",
"clusterAPIControllerAzure": "quay.io/openshift/origin-azure-machine-controllers:v4.0.0"
"clusterAPIControllerAzure": "quay.io/openshift/origin-azure-machine-controllers:v4.0.0",
"baremetalOperator": "quay.io/metal3-io/origin-baremetal-operator:latest",
"baremetalProvider": "quay.io/metalkube/metalkube-ironic"
"baremetalIronicInspector": "quay.io/metalkube/metalkube-ironic-inspector"
}
47 changes: 47 additions & 0 deletions install/0000_30_machine-api-operator_12_baremetalhost.crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: baremetalhosts.metal3.io
spec:
group: metal3.io
names:
kind: BareMetalHost
listKind: BareMetalHostList
plural: baremetalhosts
singular: baremetalhost
shortNames:
- bmh
- bmhost
scope: Namespaced
version: v1alpha1
subresources:
status: {}
additionalPrinterColumns:
- JSONPath: .status.operationalStatus
description: Operational status
name: Status
type: string
- JSONPath: .status.provisioning.state
description: Provisioning status
name: Provisioning Status
type: string
- JSONPath: .spec.machineRef.name
description: Machine using this host
name: Machine
type: string
- JSONPath: .spec.bmc.address
description: Address of management controler
name: BMC
type: string
- JSONPath: .status.hardwareProfile
description: The type of hardware detected
name: Hardware Profile
type: string
- JSONPath: .spec.online
description: Whether the host is online or not
name: Online
type: string
- JSONPath: .status.errorMessage
description: Most recent error
name: Error
type: string
12 changes: 12 additions & 0 deletions install/image-references
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ spec:
from:
kind: DockerImage
name: quay.io/openshift/origin-azure-machine-controllers:v4.0.0
- name: baremetal-operator
from:
kind: DockerImage
name: quay.io/metal3-io/baremetal-operator:master
- name: baremetal-provider
from:
kind: DockerImage
name: quay.io/metalkube/metalkube-ironic
- name: baremetal-inspector
from:
kind: DockerImage
name: quay.io/metalkube/metalkube-ironic-inspector
Loading

0 comments on commit 7a090bb

Please sign in to comment.