baremetal: Drop ironic-exporter.
This component is not being used in this version of OpenShift, so drop
it.
@@ -232,7 +232,6 @@ func newMetal3Containers(config *OperatorConfig) []corev1.Container {
containers = append(containers, createContainerMetal3Httpd(config))
containers = append(containers, createContainerMetal3IronicConductor(config))
containers = append(containers, createContainerMetal3IronicApi(config))
- containers = append(containers, createContainerMetal3IronicExporter(config))
containers = append(containers, createContainerMetal3IronicInspector(config))
containers = append(containers, createContainerMetal3StaticIpManager(config))
return containers
@@ -335,26 +334,6 @@ func createContainerMetal3IronicApi(config *OperatorConfig) corev1.Container {
return container
}
-func createContainerMetal3IronicExporter(config *OperatorConfig) corev1.Container {
-
- container := corev1.Container{
- Name: "metal3-ironic-exporter",
- Image: config.BaremetalControllers.Ironic,
- ImagePullPolicy: "Always",
- SecurityContext: &corev1.SecurityContext{
- Privileged: pointer.BoolPtr(true),
- },
- Command: []string{"/bin/runironic-exporter"},
- VolumeMounts: volumeMounts,
- Env: []corev1.EnvVar{
- setMariadbPassword(),
- setEnvVar("HTTP_PORT", "http_port"),
- setEnvVar("PROVISIONING_INTERFACE", "provisioning_interface"),
- },
- }
- return container
-}
-
func createContainerMetal3IronicInspector(config *OperatorConfig) corev1.Container {
container := corev1.Container{
