add eso config for auth to kubernetes
This commit is contained in:
1 parent
f6004b6848
commit
ad7c827f26
3 files changed
+23
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: eso-store-role
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- authorization.k8s.io
|
||||
resources:
|
||||
- selfsubjectrulesreviews
|
||||
verbs:
|
||||
- create
|
||||
@@ -4,6 +4,7 @@ kind: Kustomization
|
||||
resources:
|
||||
- secret-store.yaml
|
||||
- service-account.yaml
|
||||
- eso-store-role.yaml
|
||||
|
||||
helmCharts:
|
||||
- name: external-secrets
|
||||
|
||||
@@ -4,12 +4,15 @@ metadata:
|
||||
name: vault-backend
|
||||
spec:
|
||||
provider:
|
||||
kubernetes:
|
||||
server:
|
||||
url: "http://default.svc.cluster.local"
|
||||
vault:
|
||||
server: "http://vault.hashicorp-vault.svc.cluster.local:8200"
|
||||
path: "secret"
|
||||
# Version is the Vault KV secret engine version.
|
||||
# This can be either "v1" or "v2", defaults to "v2"
|
||||
version: "v2"
|
||||
# version: "v2"
|
||||
# auth:
|
||||
# # points to a secret that contains a vault token
|
||||
# # https://www.vaultproject.io/docs/auth/token
|
||||
|
||||
Reference in new issue
Block a user