Skip to content

Commit

Permalink
add public key to vault (#7369)
Browse files Browse the repository at this point in the history
  • Loading branch information
treddy08 authored Nov 15, 2023
1 parent 0155715 commit b734ba8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
flat: yes
fail_on_missing: yes

- name: Create vault secret for cosign public key
shell: |
PUBLIC_KEY=$(cat /tmp/cosign.pub)
oc exec vault-0 -n {{ ocp4_workload_redhat_developer_hub_vault_namespace
}} -- vault kv put kv/secrets/janusidp/cosign public_key="$PUBLIC_KEY"
- name: Create Tekton Chains CRD
k8s:
state: present
Expand Down

0 comments on commit b734ba8

Please sign in to comment.