Skip to content

Commit d1fec54

Browse files
derekhigginshroyrh
authored andcommitted
OCPBUGS-44840: Mount the user-ca-bundle into ICC
The ICC will then add it to the custom image in order to pull down the IPA image. (cherry picked from commit 3a496ec)
1 parent 11c3c83 commit d1fec54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

data/data/bootstrap/baremetal/files/etc/containers/systemd/image-customization.container

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Volume=ironic.volume:/shared:z
1616
Volume=/etc/containers:/tmp/containers:z
1717
Volume=${AUTH_DIR}:/auth:z,ro
1818
Volume=/opt/openshift:/opt/openshift:z,ro
19+
Volume=/etc/pki/ca-trust/source/anchors/ca.crt:/tmp/ca.crt:z,ro
1920
Environment="DEPLOY_ISO=/shared/html/images/ironic-python-agent.iso"
2021
Environment="DEPLOY_INITRD=/shared/html/images/ironic-python-agent.initramfs"
2122
Environment="IRONIC_BASE_URL=${IRONIC_BASE_URL}"
@@ -25,6 +26,7 @@ Environment="IP_OPTIONS=${EXTERNAL_IP_OPTIONS}"
2526
Environment="REGISTRIES_CONF_PATH=/tmp/containers/registries.conf"
2627
Environment="KUBECONFIG=/opt/openshift/auth/kubeconfig-loopback"
2728
Environment="ADDITIONAL_NTP_SERVERS=${ADDITIONAL_NTP_SERVERS}"
29+
Environment="CA_BUNDLE=/tmp/ca.crt"
2830

2931
[Service]
3032
EnvironmentFile=/etc/ironic.env

0 commit comments

Comments
 (0)