From 6e47dc62c29d22cb594d1bfe6525816dc6cd270d Mon Sep 17 00:00:00 2001 From: Joel <34544090+JoelKle@users.noreply.github.com> Date: Mon, 25 Aug 2025 14:38:18 +0200 Subject: [PATCH] Fix installer update-ca-trust command (#1985) The latest release of the update-ca-trust requires the --output param if you run as non-root user. See: https://gitlab.com/redhat/centos-stream/rpms/ca-certificates/-/commit/81a090f89a413487bb8a8677eff9bb4fb8bfbf71 And: https://github.com/ansible/awx-ee/issues/258#issuecomment-2439742296 Fixes: https://github.com/ansible/awx-ee/issues/258 --- roles/installer/templates/deployments/task.yaml.j2 | 2 +- roles/installer/templates/deployments/web.yaml.j2 | 2 +- roles/installer/templates/jobs/migration.yaml.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/installer/templates/deployments/task.yaml.j2 b/roles/installer/templates/deployments/task.yaml.j2 index 72140f40..93c1cd13 100644 --- a/roles/installer/templates/deployments/task.yaml.j2 +++ b/roles/installer/templates/deployments/task.yaml.j2 @@ -84,7 +84,7 @@ spec: - -c - | mkdir -p /etc/pki/ca-trust/extracted/{java,pem,openssl,edk2} - update-ca-trust extract + update-ca-trust extract --output /etc/pki/ca-trust/extracted volumeMounts: - name: "ca-trust-extracted" mountPath: "/etc/pki/ca-trust/extracted" diff --git a/roles/installer/templates/deployments/web.yaml.j2 b/roles/installer/templates/deployments/web.yaml.j2 index b6928deb..a131a391 100644 --- a/roles/installer/templates/deployments/web.yaml.j2 +++ b/roles/installer/templates/deployments/web.yaml.j2 @@ -93,7 +93,7 @@ spec: - -c - | mkdir -p /etc/pki/ca-trust/extracted/{java,pem,openssl,edk2} - update-ca-trust extract + update-ca-trust extract --output /etc/pki/ca-trust/extracted volumeMounts: - name: "ca-trust-extracted" mountPath: "/etc/pki/ca-trust/extracted" diff --git a/roles/installer/templates/jobs/migration.yaml.j2 b/roles/installer/templates/jobs/migration.yaml.j2 index 8c05de59..872095cf 100644 --- a/roles/installer/templates/jobs/migration.yaml.j2 +++ b/roles/installer/templates/jobs/migration.yaml.j2 @@ -24,7 +24,7 @@ spec: - -c - | mkdir -p /etc/pki/ca-trust/extracted/{java,pem,openssl,edk2} - update-ca-trust extract + update-ca-trust extract --output /etc/pki/ca-trust/extracted volumeMounts: - name: "ca-trust-extracted" mountPath: "/etc/pki/ca-trust/extracted"