Let terraform-authentik read the vlogs OIDC client secret
vlogs is the first app to need a second OIDC secret in a namespace that already has one, so the one-per-namespace oauth-credentials wildcard does not cover it and the authentik plan fails on a denied kv read. - grant read on kv/kubernetes/namespace/logging/default/vlogs-oauth-credentials
This commit is contained in:
@@ -10,6 +10,11 @@ rules:
|
||||
- path: "kv/data/kubernetes/namespace/+/default/oauth-credentials"
|
||||
capabilities:
|
||||
- read
|
||||
# Second OIDC client in an already-onboarded namespace, so it cannot use the
|
||||
# one-per-namespace oauth-credentials path above.
|
||||
- path: "kv/data/kubernetes/namespace/logging/default/vlogs-oauth-credentials"
|
||||
capabilities:
|
||||
- read
|
||||
|
||||
auth:
|
||||
approle:
|
||||
|
||||
Reference in New Issue
Block a user