Skip to content

Commit

Permalink
Expose TLS key and cert to Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
enarha committed Nov 13, 2024
1 parent 40524eb commit 2eaebd2
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,26 @@ spec:
prometheus_port: 9090
prometheus_histogram: true
options:
statefulSets:
tekton-results-postgres:
spec:
template:
spec:
containers:
- name: postgres
volumeMounts:
- mountPath: /opt/app-root/src/certs/
name: db-tls-ca
readOnly: true
volumes:
- name: db-tls-ca
secret:
items:
- key: tls.crt
path: tls.crt
- key: tls.key
path: tls.key
secretName: rds-root-crt
deployments:
tekton-results-watcher:
spec:
Expand Down

0 comments on commit 2eaebd2

Please sign in to comment.