Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#727 from holser/barbican_sudo
Browse files Browse the repository at this point in the history
Get Barbican password with sudo
  • Loading branch information
jistr authored Nov 13, 2024
2 parents 35adc04 + c18117b commit 74fdf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/roles/barbican_adoption/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ shell_header }}
{{ oc_header }}
CONTROLLER1_SSH="{{ controller1_ssh }}"
oc set data secret/osp-secret "BarbicanSimpleCryptoKEK=$($CONTROLLER1_SSH "python3 -c \"import configparser; c = configparser.ConfigParser(); c.read('/var/lib/config-data/puppet-generated/barbican/etc/barbican/barbican.conf'); print(c['simple_crypto_plugin']['kek'])\"")"
oc set data secret/osp-secret "BarbicanSimpleCryptoKEK=$($CONTROLLER1_SSH "sudo python3 -c \"import configparser; c = configparser.ConfigParser(); c.read('/var/lib/config-data/puppet-generated/barbican/etc/barbican/barbican.conf'); print(c['simple_crypto_plugin']['kek'])\"")"
- name: deploy podified Barbican
ansible.builtin.shell: |
Expand Down

0 comments on commit 74fdf78

Please sign in to comment.