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:
|
resources:
|
||||||
- secret-store.yaml
|
- secret-store.yaml
|
||||||
- service-account.yaml
|
- service-account.yaml
|
||||||
|
- eso-store-role.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: external-secrets
|
- name: external-secrets
|
||||||
|
|||||||
@@ -4,12 +4,15 @@ metadata:
|
|||||||
name: vault-backend
|
name: vault-backend
|
||||||
spec:
|
spec:
|
||||||
provider:
|
provider:
|
||||||
|
kubernetes:
|
||||||
|
server:
|
||||||
|
url: "http://default.svc.cluster.local"
|
||||||
vault:
|
vault:
|
||||||
server: "http://vault.hashicorp-vault.svc.cluster.local:8200"
|
server: "http://vault.hashicorp-vault.svc.cluster.local:8200"
|
||||||
path: "secret"
|
path: "secret"
|
||||||
# Version is the Vault KV secret engine version.
|
# Version is the Vault KV secret engine version.
|
||||||
# This can be either "v1" or "v2", defaults to "v2"
|
# This can be either "v1" or "v2", defaults to "v2"
|
||||||
version: "v2"
|
# version: "v2"
|
||||||
# auth:
|
# auth:
|
||||||
# # points to a secret that contains a vault token
|
# # points to a secret that contains a vault token
|
||||||
# # https://www.vaultproject.io/docs/auth/token
|
# # https://www.vaultproject.io/docs/auth/token
|
||||||
|
|||||||
Reference in new issue
Block a user