Ext secret store
This commit is contained in:
parent
043e45a3f2
commit
939bc71bad
@ -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:
|
||||||
|
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