Skip to content

Commit

Permalink
mirror(deployment-template): add postgresql client certificate overla…
Browse files Browse the repository at this point in the history
…y for authentication (PROJQUAY-2417) (#963)

Missed that we need the certificate handling in the mirror pod when using Postgres SSL authentication
  • Loading branch information
michaelalang authored and bcaton85 committed Sep 30, 2024
1 parent c19c3e4 commit f6f8eca
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions kustomize/components/mirror/mirror.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ spec:
name: extra-ca-certs
- secret:
name: quay-config-tls
- name: postgres-certs
projected:
sources:
- secret:
name: postgresql-ca
optional: true
- secret:
name: postgresql-client-certs
optional: true
- name: postgres-certs-store
emptyDir:
sizeLimit: 5Mi
initContainers:
- name: quay-mirror-init
image: quay.io/projectquay/quay:latest
Expand Down Expand Up @@ -99,6 +111,10 @@ spec:
- name: extra-ca-certs
readOnly: true
mountPath: /conf/stack/extra_ca_certs
- name: postgres-certs
mountPath: /run/secrets/postgresql
- name: postgres-certs-store
mountPath: /.postgresql
resources:
requests:
cpu: 500m
Expand Down

0 comments on commit f6f8eca

Please sign in to comment.