Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirror(deployment-template): add postgresql client certificate overlay for authentication (PROJQUAY-2417) #966

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading