-
Notifications
You must be signed in to change notification settings - Fork 49
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
Updated mariadb to serve over tls #696
Updated mariadb to serve over tls #696
Conversation
f3a81ee
to
852db9c
Compare
A new image has been built to help with testing out this PR: To use this image run the following: cd $(mktemp -d)
git clone [email protected]:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/696/head
git checkout -b pullrequest f3a81ee0eba65788cceed4f723428d6946594abf
oc new-project opendatahub
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-696" More instructions here on how to deploy and test a Data Science Pipelines Application. |
Change to PR detected. A new PR build was completed. |
852db9c
to
4108d12
Compare
Change to PR detected. A new PR build was completed. |
3 similar comments
Change to PR detected. A new PR build was completed. |
Change to PR detected. A new PR build was completed. |
Change to PR detected. A new PR build was completed. |
bed850b
to
09c222f
Compare
Change to PR detected. A new PR build was completed. |
241acca
to
da5de41
Compare
Change to PR detected. A new PR build was completed. |
1 similar comment
Change to PR detected. A new PR build was completed. |
controllers/dspipeline_params.go
Outdated
PodToPodTLS bool | ||
|
||
PodToPodTLS bool | ||
CustomExtraParams string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not 100% clear to me, but I believe TLS should be enabled when PodToPodTLS
is true
. Can you confirm @HumairAK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed.
so instead of doing this:
database:
customExtraParams: '{"tls":"true"}'
just make that happen automatically when PodToPodTLS
is true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also it doesn't look like the value of customExtraParams
is actually used anywhere, which is a bit puzzling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HumairAK could you confirm that TLS should be enabled when PodToPodTLS is true. I remember that we discussed to use CustomExtraParams instead of PodToPodTLS in this case, so just want to make sure of that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delayed response, yes that's correct, we only want to enable mariadb when podtopodtls is set to true, in this scenario we should probably configure extra params automatically as needed to make this work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this scenario we should probably configure extra params automatically as needed to make this work
so we don't need the customExtraParams
at all. Cool. Thanks for confirming.
/verified |
/retest |
004043e
to
90ed8a9
Compare
some nitpicks, but |
5f2be8d
to
92a451f
Compare
/lgtm nice work! |
awesome thanks folks! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: HumairAK 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 |
The issue resolved by this Pull Request:
Resolves #RHOAIENG-4972
Description of your changes:
Testing instructions
checks are successful.
TLS Enabled
TLS Disabled
Checklist