mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-10 01:01:27 -05:00
Update 3 files
- /longhorn/templates/longhorn-minio-sealed.yaml - /longhorn/templates/secrets.yaml - /argocd/templates/sealed-secrets.yaml
This commit is contained in:
parent
002717b0a2
commit
246558a0dd
3 changed files with 64 additions and 82 deletions
41
longhorn/templates/secrets.yaml
Normal file
41
longhorn/templates/secrets.yaml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: external-longhorn-backup-token-secret
|
||||
spec:
|
||||
secretStoreRef:
|
||||
name: vault-longhorn
|
||||
kind: SecretStore
|
||||
target:
|
||||
name: longhorn-backup-token-secret
|
||||
data:
|
||||
- secretKey: AWS_ACCESS_KEY_ID
|
||||
remoteRef:
|
||||
key: longhorn/backup
|
||||
property: AWS_ACCESS_KEY_ID
|
||||
- secretKey: AWS_ENDPOINTS
|
||||
remoteRef:
|
||||
key: longhorn/backup
|
||||
property: AWS_ENDPOINTS
|
||||
- secretKey: AWS_SECRET_ACCESS_KEY
|
||||
remoteRef:
|
||||
key: longhorn/backup
|
||||
property: AWS_SECRET_ACCESS_KEY
|
||||
|
||||
---
|
||||
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: SecretStore
|
||||
metadata:
|
||||
name: vault-longhorn
|
||||
spec:
|
||||
provider:
|
||||
vault:
|
||||
server: "http://vault.vault.svc.cluster.local:8200"
|
||||
path: "longhorn"
|
||||
version: "v2"
|
||||
auth:
|
||||
kubernetes:
|
||||
mountPath: "kubernetes"
|
||||
role: "external-secrets"
|
||||
Loading…
Add table
Add a link
Reference in a new issue