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

quayapp(deploymenttemplate): mounting optional postgres certs (PROJQUAY-2417) #854

Merged
merged 22 commits into from
Sep 17, 2024
Merged
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ca21c45
adding Postgres client certificate secret,mount overlay
michaelalang Jul 18, 2023
8f806bf
fixed missing secrets mount
michaelalang Jul 18, 2023
a33c57c
fixed Unit for emptyDir size
michaelalang Jul 19, 2023
333b913
fixed typo in configmap name
michaelalang Oct 28, 2023
ec6adda
adding Postgres client certificate secret,mount overlay
michaelalang Jul 18, 2023
be722c1
fixed missing secrets mount
michaelalang Jul 18, 2023
29fa2cf
fixed Unit for emptyDir size
michaelalang Jul 19, 2023
5cb27d3
Merge branch 'quay:master' into master
michaelalang Jun 29, 2024
2e0b323
Resolve merge conflict
michaelalang Jun 29, 2024
e21d1cf
chore: rename upstream operator to project-quay (#928)
Jun 3, 2024
839fb19
chore: rename upstream operator back to quay-operator (#930)
Jun 3, 2024
3282d22
pgupgrade: Fix clairpgupgrade path (PROJQUAY-7392)
jonathankingfc Jul 2, 2024
b765a54
pgupgrade: Update pgupgrade path (PROJQUAY-7329)
jonathankingfc Jul 3, 2024
afad5c9
build(deps): bump github.com/jackc/pgx/v4 from 4.11.0 to 4.18.2
dependabot[bot] Apr 29, 2024
718d8df
Add docs for env variable upgrades
syed Mar 17, 2023
4324eb7
Merge branch 'quay:master' into master
michaelalang Aug 22, 2024
f88e071
Revert "adding Postgres client certificate secret,mount overlay"
michaelalang Aug 22, 2024
9285ad5
Revert "fixed missing secrets mount"
michaelalang Aug 22, 2024
3eb4c30
Revert "fixed Unit for emptyDir size"
michaelalang Aug 22, 2024
a9caf35
Merge branch 'quay:master' into master
michaelalang Sep 17, 2024
a995ef0
fixed comments from Brandon++ <3
michaelalang Sep 17, 2024
4ee2b81
Merge branch 'master' into PROJQUAY-2417
michaelalang Sep 17, 2024
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/base/quay.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ spec:
name: cluster-trusted-ca
- secret:
name: extra-ca-certs
- name: postgres-certs
bcaton85 marked this conversation as resolved.
Show resolved Hide resolved
projected:
sources:
- secret:
name: postgresql-ca
optional: true
- secret:
name: postgresql-client-certs
optional: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to use the following indentation where name and optional appear under secret. I wouldn't copy from here since Github formatting seems to be odd.

- 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
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -129,3 +141,7 @@ spec:
- name: extra-ca-certs
readOnly: true
mountPath: /conf/stack/extra_ca_certs
- name: postgres-certs
mountPath: /run/secrets/postgres
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be /run/secrets/postgresql to match what's defined in quay-entrypoint

- name: postgres-certs-store
mountPath: /.postgres
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be /.postgresql to match what's defined in quay-entrypoint

Loading