2026-08-19 10:38:25 -04:00
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: kan-secrets
|
|
|
|
|
namespace: kan
|
2026-08-19 11:07:32 -04:00
|
|
|
annotations:
|
|
|
|
|
argocd.argoproj.io/sync-wave: "-1"
|
2026-08-19 10:38:25 -04:00
|
|
|
spec:
|
|
|
|
|
refreshInterval: 1h
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
name: aws-secrets-manager
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
target:
|
|
|
|
|
name: kan-secrets
|
|
|
|
|
template:
|
|
|
|
|
data:
|
|
|
|
|
BETTER_AUTH_SECRET: "{{ `{{ .better_auth_secret }}` }}"
|
|
|
|
|
POSTGRES_URL: "postgresql://postgres:{{ `{{ .postgres_password }}` }}@postgres.postgres.svc.cluster.local:5432/kan?sslmode=disable"
|
2026-08-24 18:51:16 -04:00
|
|
|
BETTER_AUTH_TRUSTED_ORIGINS: "https://todo.{{ .Values.domain }}"
|
2026-08-24 10:16:43 -04:00
|
|
|
SMTP_HOST: "{{ `{{ .ses_smtp_endpoint }}` }}"
|
|
|
|
|
SMTP_PORT: "587"
|
|
|
|
|
SMTP_USER: "{{ `{{ .ses_smtp_user }}` }}"
|
|
|
|
|
SMTP_PASSWORD: "{{ `{{ .ses_smtp_password }}` }}"
|
|
|
|
|
SMTP_SECURE: "false"
|
2026-08-24 09:38:51 -04:00
|
|
|
EMAIL_FROM: "noreply@{{ .Values.domain }}"
|
2026-08-19 10:38:25 -04:00
|
|
|
data:
|
|
|
|
|
- secretKey: better_auth_secret
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: dumpnet
|
|
|
|
|
property: kan.better_auth_secret
|
|
|
|
|
- secretKey: postgres_password
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: dumpnet
|
|
|
|
|
property: postgres.password
|
2026-08-24 09:38:51 -04:00
|
|
|
- secretKey: ses_smtp_endpoint
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: dumpnet
|
|
|
|
|
property: ses.smtp_endpoint
|
|
|
|
|
- secretKey: ses_smtp_user
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: dumpnet
|
|
|
|
|
property: ses.smtp_user
|
|
|
|
|
- secretKey: ses_smtp_password
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: dumpnet
|
|
|
|
|
property: ses.smtp_password
|