Skip to content

Commit

Permalink
Merge pull request #674 from stbenjam/env-vars-ironic
Browse files Browse the repository at this point in the history
baremetal: configure containers with provisioning_ip
  • Loading branch information
openshift-merge-robot authored Aug 12, 2020
2 parents 3c2caf2 + a3f5dcb commit ea1b907
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/operator/baremetal_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ func createContainerMetal3Httpd(config *OperatorConfig, baremetalProvisioningCon
VolumeMounts: volumeMounts,
Env: []corev1.EnvVar{
buildEnvVar("HTTP_PORT", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_IP", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_INTERFACE", baremetalProvisioningConfig),
},
}
Expand All @@ -357,6 +358,7 @@ func createContainerMetal3IronicConductor(config *OperatorConfig, baremetalProvi
Env: []corev1.EnvVar{
setMariadbPassword(),
buildEnvVar("HTTP_PORT", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_IP", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_INTERFACE", baremetalProvisioningConfig),
},
}
Expand All @@ -377,6 +379,7 @@ func createContainerMetal3IronicApi(config *OperatorConfig, baremetalProvisionin
Env: []corev1.EnvVar{
setMariadbPassword(),
buildEnvVar("HTTP_PORT", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_IP", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_INTERFACE", baremetalProvisioningConfig),
},
}
Expand All @@ -394,6 +397,7 @@ func createContainerMetal3IronicInspector(config *OperatorConfig, baremetalProvi
},
VolumeMounts: volumeMounts,
Env: []corev1.EnvVar{
buildEnvVar("PROVISIONING_IP", baremetalProvisioningConfig),
buildEnvVar("PROVISIONING_INTERFACE", baremetalProvisioningConfig),
},
}
Expand Down

0 comments on commit ea1b907

Please sign in to comment.