mirror of
https://github.com/clastix/kamaji.git
synced 2026-02-14 10:00:02 +00:00
38 lines
973 B
YAML
38 lines
973 B
YAML
apiVersion: kamaji.clastix.io/v1alpha1
|
|
kind: DataStore
|
|
metadata:
|
|
name: postgresql-silver
|
|
spec:
|
|
driver: PostgreSQL
|
|
endpoints:
|
|
- postgres-silver-rw.postgres-system.svc:5432
|
|
basicAuth:
|
|
username:
|
|
secretReference:
|
|
name: postgres-silver-superuser
|
|
namespace: postgres-system
|
|
keyPath: username
|
|
password:
|
|
secretReference:
|
|
name: postgres-silver-superuser
|
|
namespace: postgres-system
|
|
keyPath: password
|
|
tlsConfig:
|
|
certificateAuthority:
|
|
certificate:
|
|
secretReference:
|
|
name: postgres-silver-ca
|
|
namespace: postgres-system
|
|
keyPath: ca.crt
|
|
clientCertificate:
|
|
certificate:
|
|
secretReference:
|
|
name: postgres-silver-root-cert
|
|
namespace: postgres-system
|
|
keyPath: tls.crt
|
|
privateKey:
|
|
secretReference:
|
|
name: postgres-silver-root-cert
|
|
namespace: postgres-system
|
|
keyPath: tls.key
|