Ext secret store
This commit is contained in:
parent
043e45a3f2
commit
939bc71bad
@ -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:
|
||||
|
15
MetaObjects/secret-store.yml
Normal file
15
MetaObjects/secret-store.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user