feat: add OpenBao plugin RPMs for consul and nomad secrets engines
Build / build-9 (pull_request) Successful in 42s
Build / build-8 (pull_request) Successful in 2m2s

- Add openbao-plugin-secret-consul v0.1.0 RPM configuration
- Add openbao-plugin-secret-nomad v0.1.4 RPM configuration
- Add openbao-plugins v1.0.0 meta package that installs both plugins
- Plugins install to /opt/openbao-plugins directory
- Include pre-install scripts to create plugin directory
- Support for EL8 and EL9 distributions
This commit is contained in:
2025-10-17 14:59:40 +11:00
parent 9d68b886ec
commit 086d9365d4
17 changed files with 225 additions and 0 deletions
@@ -0,0 +1,35 @@
# nfpm.yaml
name: openbao-plugin-secret-consul
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "OpenBao secrets engine plugin for HashiCorp Consul"
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0
disable_globbing: false
replaces:
- openbao-plugin-secret-consul
provides:
- openbao-plugin-secret-consul
# Files to include in the package
contents:
- src: /app/openbao-plugin-secrets-consul
dst: /opt/openbao-plugins/openbao-plugin-secrets-consul
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal
scripts:
preinstall: /app/resources/scripts/preinstall.sh