This commit is contained in:
2025-05-10 08:55:17 -05:00
parent 04da18d4ee
commit 9514ffc44a
2 changed files with 42 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: crowdsec-lapi-key
spec:
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: crowdsec-lapi-key
data:
- secretKey: lapi-key
remoteRef:
key: kv/crowdsec/api
property: key
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: vault