Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#955 from fmount/ipa
Browse files Browse the repository at this point in the history
Bump ipa image in adoption script and make it a parameter
  • Loading branch information
karelyatin authored Dec 2, 2024
2 parents f50aec7 + bf5b655 commit e9ff886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion devsetup/standalone/openstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ TLSE_ENABLED=${TLSE_ENABLED:-false}
CLOUD_DOMAIN=${CLOUD_DOMAIN:-localdomain}
TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true}
OCTAVIA_ENABLED=${OCTAVIA_ENABLED:-false}
IPA_IMAGE=${IPA_IMAGE:-"quay.io/freeipa/freeipa-server:fedora-41"}

# Use the files created in the previous steps including the network_data.yaml file and thw deployed_network.yaml file.
# The deployed_network.yaml file hard codes the IPs and VIPs configured from the network.sh
Expand Down Expand Up @@ -154,7 +155,7 @@ if [ "$TLSE_ENABLED" = "true" ]; then
-h $IPA_SERVER_HOSTNAME \
--read-only --tmpfs /run --tmpfs /tmp \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v /tmp/ipa-data:/data:Z quay.io/freeipa/freeipa-server:fedora-39 no-exit \
-v /tmp/ipa-data:/data:Z "$IPA_IMAGE" no-exit \
-U -r $IPA_REALM --setup-dns --no-reverse --no-ntp \
--no-dnssec-validation --auto-forwarders
timeout 900s grep -qEi '(INFO The ipa-server-install command was successful|ERROR The ipa-server-install command failed)' <(tail -F /tmp/ipa-data/var/log/ipaserver-install.log)
Expand Down
3 changes: 2 additions & 1 deletion devsetup/tripleo/tripleo_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ if [ "$TLSE_ENABLED" = "true" ]; then
export IPA_REALM=$(echo $IPA_DOMAIN | awk '{print toupper($0)}')
export IPA_HOST=ipa.$IPA_DOMAIN
export IPA_SERVER_HOSTNAME=$IPA_HOST
export IPA_IMAGE=${IPA_IMAGE:-"quay.io/freeipa/freeipa-server:fedora-41"}
sudo mkdir /tmp/ipa-data
sudo podman run -d --name freeipa-server-container \
--sysctl net.ipv6.conf.lo.disable_ipv6=0 \
Expand All @@ -198,7 +199,7 @@ if [ "$TLSE_ENABLED" = "true" ]; then
-p 88:88/udp -p 464:464/udp \
--read-only --tmpfs /run --tmpfs /tmp \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v /tmp/ipa-data:/data:Z quay.io/freeipa/freeipa-server:fedora-39 no-exit \
-v /tmp/ipa-data:/data:Z "$IPA_IMAGE" no-exit \
-U -r $IPA_REALM --setup-dns --no-reverse --no-ntp \
--no-dnssec-validation --auto-forwarders
timeout 900s grep -qEi '(INFO The ipa-server-install command was successful|ERROR The ipa-server-install command failed)' <(sudo tail -F /tmp/ipa-data/var/log/ipaserver-install.log)
Expand Down

0 comments on commit e9ff886

Please sign in to comment.