You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hixichen
changed the title
auto_join with k8s as provider can auto applied namespace
auto_join with k8s as provider can auto apply to current namespace
Feb 17, 2023
Is your feature request related to a problem? Please describe.
Ideally, we expect use helm chart with model:
everytime, when we switch namespaces, expect
MY_NS
as only parameter we need to modify.However, if set auto_join with k8s as provider, the config is like:
We have to manually define the namespace here if we expect Vault only discover PODs within same namespace.
the root cause is that go-discover need explicitly argus input.
https://github.com/hashicorp/go-discover/blob/master/provider/k8s/k8s_discover.go#L103
Describe the solution you'd like
Maybe something like:
let
k8s_discover.go
accept environment variable.helm chart feeds
.Release.Namespace
to this environment variable with configuration flag.Eg:
below this line:https://github.com/hashicorp/vault-helm/blob/main/values.yaml#L788
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: