Skip to content

Support Vault EE namespaces

Aleksander Zak requested to merge aleksanderzak/gitlab:vault_namespaces into master

Currently the vault integration does not support Vault EE namespaces. Only the vault server URL, role name and auth path can be configured with the variables. It is possible to just prefix the engine's path with the namespace, but it is not possible to specify the namespace for the authentication - it always uses the root namespace.

This change makes the namespace configurable wiht the VAULT_NAMESPACE variable (similar to how VAULT_SERVER_URL, VAULT_AUTH_ROLE and VAULT_AUTH_PATH are being used already). It will fall-back to the root value in case the variable is not defined by the user.

related runner MR: gitlab-runner!3320 (merged)

ref #255619 ref https://gitlab.com/ubs-group1/ubs/ubs-global/-/issues/92

Note: This MR implements only configuration via a CI variable.

Edited by Mark Nuzzo

Merge request reports