Add support for extra BMO replacements
Adds support for additional Baremetal Operator replacements in the NetworkCatalogue CRD. Relates-To: #469 Change-Id: I4788813b3db82459d2b975fca2b3e74d3792cb63
This commit is contained in:
parent
5820e22d9f
commit
763b5c2248
@ -23,6 +23,13 @@ spec:
|
|||||||
provisioningInterface: "pxe"
|
provisioningInterface: "pxe"
|
||||||
provisioningIp: "10.23.25.102"
|
provisioningIp: "10.23.25.102"
|
||||||
dhcpRange: "10.23.25.200,10.23.25.250"
|
dhcpRange: "10.23.25.200,10.23.25.250"
|
||||||
|
ironicAutomatedClean: ""
|
||||||
|
httpPort: ""
|
||||||
|
ironicFastTrack: ""
|
||||||
|
deployKernelUrl: ""
|
||||||
|
deployRamdiskUrl: ""
|
||||||
|
ironicEndpoint: ""
|
||||||
|
ironicInspectorEndpoint: ""
|
||||||
|
|
||||||
# This section is only relevant when using Metal3 BareMetalHosts, and
|
# This section is only relevant when using Metal3 BareMetalHosts, and
|
||||||
# is consumed by the `hostgenerator-m3` function.
|
# is consumed by the `hostgenerator-m3` function.
|
||||||
|
@ -119,3 +119,18 @@ spec:
|
|||||||
dhcpRange:
|
dhcpRange:
|
||||||
# TODO(mfuller): should this be enforced with a pattern?
|
# TODO(mfuller): should this be enforced with a pattern?
|
||||||
type: string
|
type: string
|
||||||
|
ironicAutomatedClean:
|
||||||
|
type: boolean
|
||||||
|
httpPort:
|
||||||
|
type: integer
|
||||||
|
maximum: 65535
|
||||||
|
ironicFastTrack:
|
||||||
|
type: boolean
|
||||||
|
deployKernelUrl:
|
||||||
|
type: string
|
||||||
|
deployRamdiskUrl:
|
||||||
|
type: string
|
||||||
|
ironicEndpoint:
|
||||||
|
type: string
|
||||||
|
ironicInspectorEndpoint:
|
||||||
|
type: string
|
||||||
|
@ -27,3 +27,13 @@ data:
|
|||||||
IRONIC_VOLUME_CAPACITY: "10Gi"
|
IRONIC_VOLUME_CAPACITY: "10Gi"
|
||||||
IRONIC_STORAGE_CLASS_NAME: "default"
|
IRONIC_STORAGE_CLASS_NAME: "default"
|
||||||
IRONIC_HOST_PATH: "/opt/metal3-dev-env/ironic/"
|
IRONIC_HOST_PATH: "/opt/metal3-dev-env/ironic/"
|
||||||
|
|
||||||
|
# Additional Baremetal Operator values overridable via the `replacements` entrypoint
|
||||||
|
# and networking catalogue
|
||||||
|
# IRONIC_AUTOMATED_CLEAN: “false”
|
||||||
|
# HTTP_PORT: "80"
|
||||||
|
# IRONIC_FAST_TRACK: "false"
|
||||||
|
# DEPLOY_KERNEL_URL: http://172.30.0.140:80/images/ipa-ubuntu-master.kernel
|
||||||
|
# DEPLOY_RAMDISK_URL: http://172.30.0.140:80/images/ipa-ubuntu-master.initramfs
|
||||||
|
# IRONIC_ENDPOINT: http://172.30.0.140:6385/v1/
|
||||||
|
# IRONIC_INSPECTOR_ENDPOINT: http://172.30.0.140:5050/v1/
|
||||||
|
@ -39,3 +39,73 @@ replacements:
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
name: ironic-vars
|
name: ironic-vars
|
||||||
fieldrefs: ["data.DHCP_RANGE"]
|
fieldrefs: ["data.DHCP_RANGE"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.ironicAutomatedClean
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.IRONIC_AUTOMATED_CLEAN"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.httpPort
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.HTTP_PORT"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.ironicFastTrack
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.IRONIC_FAST_TRACK"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.deployKernelUrl
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.DEPLOY_KERNEL_URL"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.deployRamdiskUrl
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.DEPLOY_RAMDISK_URL"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.ironicEndpoint
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.IRONIC_ENDPOINT"]
|
||||||
|
- source:
|
||||||
|
objref:
|
||||||
|
kind: NetworkCatalogue
|
||||||
|
name: networking
|
||||||
|
fieldref: spec.ironic.ironicInspectorEndpoint
|
||||||
|
target:
|
||||||
|
objref:
|
||||||
|
kind: ConfigMap
|
||||||
|
name: ironic-vars
|
||||||
|
fieldrefs: ["data.IRONIC_INSPECTOR_ENDPOINT"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user