add service account and secret store to external secrets
This commit is contained in:
1 parent
f84dd24986
commit
eac8544138
3 files changed
+26
No files matched your search
@@ -1,6 +1,10 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- secret-store.yaml
|
||||||
|
- service-account.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: external-secrets
|
- name: external-secrets
|
||||||
repo: https://charts.external-secrets.io
|
repo: https://charts.external-secrets.io
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
metadata:
|
||||||
|
name: vault-backend
|
||||||
|
spec:
|
||||||
|
provider:
|
||||||
|
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"
|
||||||
|
# auth:
|
||||||
|
# # points to a secret that contains a vault token
|
||||||
|
# # https://www.vaultproject.io/docs/auth/token
|
||||||
|
# tokenSecretRef:
|
||||||
|
# name: "vault-token"
|
||||||
|
# key: "token"
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: eso-vault-sa
|
||||||
Reference in new issue
Block a user