agendas/k8s/example-secret.yaml
Victor Lacasse-Beaudoin e11206c492 k8s: ajouter fichiers de déploiement de base
Inclut des manifests pour le Deployment, le Service et un example de
Secret ConfigMap.
2025-03-13 18:52:39 -04:00

31 lines
602 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: agendas-config-secret
type: Opaque
stringData:
config.yaml: |
Bottin:
Host: 'api.bottin.agecem.com'
Key: 'CHANGE_ME'
Port: 443
TLS:
Enabled: true
SkipVerify: false
Credentials:
'agendas': 'CHANGE_ME'
DB:
Database: 'agendas'
Host: 'db'
Password: 'CHANGE_ME'
Port: 5432
SSLMode: 'prefer'
Username: 'agendas'
TLS:
Enabled: true
Cert: '/etc/agendas/cert.pem'
Key: '/etc/agendas/key.pem'
cert.pem: |
CHANGE_ME
key.pem: |
CHANGE_ME