Ext secret store

This commit is contained in:
Simen R??stvik 2022-12-17 23:48:58 +01:00 committed by Simen Røstvik
parent 043e45a3f2
commit 939bc71bad
2 changed files with 17 additions and 18 deletions

View File

@ -1,28 +1,12 @@
apiVersion: external-secrets.io/v1alpha1
kind: SecretStore
metadata:
name: ext-renovate-backend
namespace: ci
spec:
provider:
vault:
server: "http://vault.vault:8200"
path: "kv"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "kube-role"
---
apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
name: ext-renovate
namespace: ci
spec:
secretStoreRef:
name: ext-renovate-backend
kind: SecretStore
name: secret-store
kind: ClusterSecretStore
target:
name: renovate-secret
data:

View File

@ -0,0 +1,15 @@
apiVersion: external-secrets.io/v1alpha1
kind: ClusterSecretStore
metadata:
name: secret-store
namespace: external-secrets
spec:
provider:
vault:
server: "http://vault.vault:8200"
path: "kv"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "kube-role"