Skip to content

Commit

Permalink
Fix installer update-ca-trust command
Browse files Browse the repository at this point in the history
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: ansible/awx-ee#258 (comment)

Fixes: ansible/awx-ee#258
  • Loading branch information
JoelKle committed Oct 30, 2024
1 parent d5683ad commit ab75bf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/installer/templates/deployments/task.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion roles/installer/templates/deployments/web.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,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"
Expand Down
2 changes: 1 addition & 1 deletion roles/installer/templates/jobs/migration.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ab75bf9

Please sign in to comment.