Files
mas/deploy/k8s/overlays/prod/externalsecret.yaml
Mayne0213 49083910c6 REFACTOR(api): remove Groq API dependency
- Remove Groq API integration
- Use only Anthropic Claude API
2026-01-02 00:05:14 +09:00

59 lines
1.2 KiB
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: mas-api-keys
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: vault-backend
target:
name: mas-api-keys
creationPolicy: Owner
data:
- secretKey: anthropic-api-key
remoteRef:
key: mas/api-keys
property: ANTHROPIC_API_KEY
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: postgresql-password
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: vault-backend
target:
name: postgresql-password
creationPolicy: Owner
data:
- secretKey: password
remoteRef:
key: databases/postgresql
property: PASSWORD
- secretKey: postgres-password
remoteRef:
key: databases/postgresql
property: POSTGRES_PASSWORD
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: postgresql-root-password
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: vault-backend
target:
name: postgresql-root-password
creationPolicy: Owner
data:
- secretKey: password
remoteRef:
key: databases/postgresql
property: POSTGRES_PASSWORD