mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-10 09:11:30 -05:00
update
This commit is contained in:
parent
a66bd5f10a
commit
1463788a5e
6 changed files with 268 additions and 2 deletions
30
dmz/longhorn/templates/secrets.yaml
Normal file
30
dmz/longhorn/templates/secrets.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: vault
|
||||
|
||||
---
|
||||
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: external-longhorn-backup-token-secret
|
||||
spec:
|
||||
secretStoreRef:
|
||||
name: vault
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: longhorn-backup-token-secret
|
||||
data:
|
||||
- secretKey: AWS_ACCESS_KEY_ID
|
||||
remoteRef:
|
||||
key: kv/longhorn/backup
|
||||
property: AWS_ACCESS_KEY_ID
|
||||
- secretKey: AWS_ENDPOINTS
|
||||
remoteRef:
|
||||
key: kv/longhorn/backup
|
||||
property: AWS_ENDPOINTS
|
||||
- secretKey: AWS_SECRET_ACCESS_KEY
|
||||
remoteRef:
|
||||
key: kv/longhorn/backup
|
||||
property: AWS_SECRET_ACCESS_KEY
|
||||
Loading…
Add table
Add a link
Reference in a new issue