2a329058c0
Why: step 1 of adding the ghp Vault secrets engine — the plugin binary must be on the OpenBao nodes before terraform-vault registers it in the catalog (the catalog sha256 pins this exact build). How: pin `openbao-plugin-secrets-ghp` ensure 0.1.0 in hieradata/roles/infra/storage/vault.yaml profiles::packages::include, alongside the other secrets plugins. Ordering: this merges + puppet-applies first; then the config-write policy; then the terraform-vault engine resources (terraform-vault#121). Reviewed-on: #520 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
49 lines
1.7 KiB
YAML
49 lines
1.7 KiB
YAML
---
|
|
profiles::vault::server::members_role: roles::infra::storage::vault
|
|
profiles::vault::server::members_lookup: true
|
|
profiles::vault::server::data_dir: /data/vault
|
|
profiles::vault::server::plugin_dir: /opt/openbao-plugins
|
|
profiles::vault::server::manage_storage_dir: true
|
|
profiles::vault::server::tls_disable: false
|
|
profiles::vault::server::package_name: openbao
|
|
profiles::vault::server::package_ensure: 2.4.4
|
|
profiles::vault::server::disable_openbao: false
|
|
|
|
# additional altnames
|
|
profiles::pki::vault::alt_names:
|
|
- vault.main.unkin.net
|
|
- vault.service.consul
|
|
- vault.service.consul
|
|
- vault
|
|
|
|
# manage a simple nginx reverse proxy
|
|
profiles::nginx::simpleproxy::nginx_vhost: 'vault.service.consul'
|
|
profiles::nginx::simpleproxy::nginx_aliases:
|
|
- vault.main.unkin.net
|
|
- vault
|
|
profiles::nginx::simpleproxy::proxy_scheme: 'http'
|
|
profiles::nginx::simpleproxy::proxy_host: '127.0.0.1'
|
|
profiles::nginx::simpleproxy::proxy_port: 8200
|
|
profiles::nginx::simpleproxy::proxy_path: '/'
|
|
|
|
profiles::packages::include:
|
|
# openbao-plugins (base bundle) left unpinned; it tracks the openbao package.
|
|
openbao-plugins: {}
|
|
# Secrets plugins pinned to the exact version whose binary matches the sha256
|
|
# registered in terraform-vault (config/plugins/*.yaml). Bump both in lockstep
|
|
# on upgrade, or OpenBao refuses to launch the plugin after a restart.
|
|
openbao-plugin-secrets-litellm:
|
|
ensure: '0.1.1'
|
|
openbao-plugin-secrets-gpg:
|
|
ensure: '0.1.0'
|
|
openbao-plugin-secrets-rancher:
|
|
ensure: '0.1.1'
|
|
openbao-plugin-secrets-gitea:
|
|
ensure: '0.1.0'
|
|
openbao-plugin-secrets-apptoken:
|
|
ensure: '0.1.0'
|
|
openbao-plugin-secrets-netbox:
|
|
ensure: '0.1.0'
|
|
openbao-plugin-secrets-ghp:
|
|
ensure: '0.1.0'
|