Ext secret store

This commit is contained in:
Simen R??stvik 2022-12-17 23:48:58 +01:00
parent f51a2a7922
commit c8207eb6c4
No known key found for this signature in database
2 changed files with 17 additions and 18 deletions

View File

@ -1,28 +1,12 @@
apiVersion: external-secrets.io/v1alpha1 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 kind: ExternalSecret
metadata: metadata:
name: ext-renovate name: ext-renovate
namespace: ci namespace: ci
spec: spec:
secretStoreRef: secretStoreRef:
name: ext-renovate-backend name: secret-store
kind: SecretStore kind: ClusterSecretStore
target: target:
name: renovate-secret name: renovate-secret
data: 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"