|
|
@@ -68,11 +68,16 @@ spec:
|
|
|
# AppRole auth: https://www.vaultproject.io/docs/auth/approle
|
|
|
appRole:
|
|
|
path: "approle"
|
|
|
- roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
|
|
|
+ # Instead of referencing the AppRole's ID from the secret, you can also specify it directly
|
|
|
+ # roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
|
|
|
+ roleRef:
|
|
|
+ name: "my-secret"
|
|
|
+ namespace: "secret-admin"
|
|
|
+ key: "vault-role-id"
|
|
|
secretRef:
|
|
|
name: "my-secret"
|
|
|
namespace: "secret-admin"
|
|
|
- key: "vault-token"
|
|
|
+ key: "vault-role-secret"
|
|
|
|
|
|
# Kubernetes auth: https://www.vaultproject.io/docs/auth/kubernetes
|
|
|
kubernetes:
|