feat(infra): data, storage, devtools, and ory layer updates
- data: CNPG cluster tuning, OpenBao values, OpenSearch deployment fixes, OpenSearch PVC, barman vault secret for S3 backup credentials - storage: SeaweedFS filer updates (s3.json via secret subPath), PVC for filer persistent storage - devtools: Gitea values (SSH service, custom theme), gitea-theme-cm ConfigMap - ory: add kratos-selfservice-urls.yaml for self-service flow URLs - media: LiveKit values updated (TURN config, STUN, resource limits) - vso: kustomization cleanup
This commit is contained in:
39
base/data/barman-vault-secret.yaml
Normal file
39
base/data/barman-vault-secret.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
# VaultAuth for VSO to authenticate in the data namespace.
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultAuth
|
||||
metadata:
|
||||
name: vso-auth
|
||||
namespace: data
|
||||
spec:
|
||||
method: kubernetes
|
||||
mount: kubernetes
|
||||
kubernetes:
|
||||
role: vso
|
||||
serviceAccount: default
|
||||
---
|
||||
# Scaleway S3 credentials for CNPG barman backups.
|
||||
# OpenBao KV path: secret/scaleway-s3 (keys: access-key-id, secret-access-key)
|
||||
# Seeded by: sunbeam seed (reads from scw CLI config)
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: barman-s3-creds
|
||||
namespace: data
|
||||
spec:
|
||||
vaultAuthRef: vso-auth
|
||||
mount: secret
|
||||
type: kv-v2
|
||||
path: scaleway-s3
|
||||
refreshAfter: 30s
|
||||
destination:
|
||||
name: barman-s3-creds
|
||||
create: true
|
||||
overwrite: true
|
||||
transformation:
|
||||
excludeRaw: true
|
||||
templates:
|
||||
ACCESS_KEY_ID:
|
||||
text: "{{ index .Secrets \"access-key-id\" }}"
|
||||
ACCESS_SECRET_KEY:
|
||||
text: "{{ index .Secrets \"secret-access-key\" }}"
|
||||
Reference in New Issue
Block a user