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

GitOps Service should require TLS for postgresql #653

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

jopit
Copy link
Contributor

@jopit jopit commented Sep 21, 2023

Description:

  • Update database connection code to require tls unless the DEV_ONLY_ALLOW_NON_TLS_CONNECTION_TO_POSTGRESQL environment variable is set.

Link to JIRA Story (if applicable): https://issues.redhat.com/browse/GITOPSRVCE-731

@openshift-ci openshift-ci bot requested review from chetan-rns and jgwest September 21, 2023 14:15
@jgwest jgwest removed their request for review September 23, 2023 10:13
Copy link
Contributor

@chetan-rns chetan-rns left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @jopit.

/lgtm

@chetan-rns
Copy link
Contributor

Is there an easy way to test this locally without RDS?

@openshift-ci openshift-ci bot removed the lgtm label Oct 14, 2023
@jgwest
Copy link
Member

jgwest commented Oct 14, 2023

Rebased to latest

@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (90c095a) 61.82% compared to head (650def1) 61.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #653      +/-   ##
==========================================
- Coverage   61.82%   61.80%   -0.02%     
==========================================
  Files          99       99              
  Lines       18086    18091       +5     
==========================================
  Hits        11182    11182              
- Misses       5652     5656       +4     
- Partials     1252     1253       +1     
Files Coverage Δ
backend-shared/db/postgres-integration.go 65.30% <0.00%> (-7.43%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jgwest
Copy link
Member

jgwest commented Oct 14, 2023

/retest

jopit added 3 commits October 14, 2023 04:42
Signed-off-by: John Pitman <jpitman@redhat.com>
Signed-off-by: John Pitman <jpitman@redhat.com>
Signed-off-by: John Pitman <jpitman@redhat.com>
Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @jopit and thanks @chetan-rns for reviewing!

@openshift-ci openshift-ci bot added the lgtm label Oct 16, 2023
@jgwest jgwest merged commit eb5a1c0 into redhat-appstudio:main Oct 16, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chetan-rns, jgwest, jopit

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants