Skip to content

Commit f2a58a1

Browse files
committed
Add input to choose secret store for CA
1 parent c392337 commit f2a58a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/multinode.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ on:
3939
description: Neutron ML2 plugin
4040
type: string
4141
default: ovn
42+
secret_store:
43+
description: Secret store to use as Certificate Authority
44+
type: string
45+
default: openbao
4246
stackhpc_kayobe_config_version:
4347
description: stackhpc-kayobe-config version
4448
type: string
@@ -270,12 +274,14 @@ jobs:
270274
ssh_key_path: ${{ github.workspace }}/terraform-kayobe-multinode/id_rsa
271275
vxlan_vni: ${{ steps.vxlan_vni.outputs.vxlan_vni }}
272276
vault_password_path: ${{ github.workspace }}/terraform-kayobe-multinode/vault-pw
277+
certificate_authority: ${{ inputs.secret_store }}
273278
kayobe_config_custom:
274279
- path: zz-multinode.yml
275280
block: |
276281
os_distribution: ${{ env.OS_DISTRIBUTION }}
277282
os_release: "${{ env.OS_RELEASE }}"
278283
kolla_enable_ovn: ${{ env.ENABLE_OVN }}
284+
stackhpc_enable_openbao: ${{ env.ENABLE_OPENBAO }}
279285
EOF
280286
281287
if [[ "${{ env.SSH_KEY }}" != "" ]]; then
@@ -287,6 +293,7 @@ jobs:
287293
working-directory: ${{ github.workspace }}/terraform-kayobe-multinode
288294
env:
289295
ENABLE_OVN: ${{ inputs.neutron_plugin == 'ovn' }}
296+
ENABLE_OPENBAO: ${{ inputs.secret_store == 'openbao' }}
290297
OS_DISTRIBUTION: ${{ inputs.os_distribution }}
291298
OS_RELEASE: ${{ inputs.os_release }}
292299
SSH_KEY: ${{ inputs.ssh_key }}

0 commit comments

Comments
 (0)