Inclut des manifests pour le Deployment, le Service et un example de Secret ConfigMap.
31 lines
602 B
YAML
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
|