Skip to content

Commit

Permalink
Adding Ctlog Custom Vars to user-provided molecule setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyd450 committed Nov 13, 2024
1 parent 5193a6b commit 862cc0c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 28 deletions.
18 changes: 18 additions & 0 deletions molecule/user_provided/vars/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,21 @@ tas_single_node_rekor_redis:
host: "{{ ansible_default_ipv4.address }}"
port: 6379
password: password
tas_single_node_custom_ctlog_private_key: |
-----BEGIN EC PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,88AC4C29A69188C9
vi9qVLa8vG7dv8N4o+dBUNg8IFZq1wuSOZkWP5Hn4HInrJSm4k+PLNqDL7kyEMAm
CoL/niZS+EgfsfYgUj+TEB9f5IrcCO2B5rvHOkR8PmD9Tc86+DfBHDn+GWndStfQ
o4JabdBmkeiVHF9G2Yh76WF2bpLdaizhCN9W7sAR1eQ=
-----END EC PRIVATE KEY-----
tas_single_node_custom_ctlog_public_key: |
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6eVbjvymisv1VZYe8bZ5hIsHfhTg
nrByohpB1XkB2qS0+DaEY9k3RyORK1NWjCrJ7901l777dBhVM9gYcqAVjw==
-----END PUBLIC KEY-----
tas_single_node_custom_ctlog_config: |
backends:{backend:{name:"trillian" backend_spec:"trillian-logserver-pod:8091"}}
log_configs:{config:{log_id:5399108819538606395 prefix:"rhtasansible" roots_pem_file:"/ctfe-keys/fulcio-0"private_key:{[type.googleapis.com/keyspb.PEMKeyFile]:{path:"/ctfe-keys/private" password:"rhtas"}} ext_key_usages:"CodeSigning" log_backend_name:"trillian"}}
tas_single_node_custom_ctlog_ca_passphrase: "password"
14 changes: 0 additions & 14 deletions roles/tas_single_node/testdata/cert.pem

This file was deleted.

2 changes: 0 additions & 2 deletions roles/tas_single_node/testdata/ctlog-config

This file was deleted.

8 changes: 0 additions & 8 deletions roles/tas_single_node/testdata/private_key.key

This file was deleted.

4 changes: 0 additions & 4 deletions roles/tas_single_node/testdata/public_key.pub

This file was deleted.

0 comments on commit 862cc0c

Please sign in to comment.