-
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
Add System Certs when they are not available or overridden #614
Conversation
Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
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 git@github.com:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/614/head
git checkout -b pullrequest 72cd5dcc8f48abb95c3ae31ba28aaa7c76dcd1e1
oc new-project opendatahub
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-614" More instructions here on how to deploy and test a Data Science Pipelines Application. |
Change to PR detected. A new PR build was completed. |
Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
Change to PR detected. A new PR build was completed. |
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.
I was able to reproduce the original issue and verified this fix did the trick, also did a sanity check with our sample pipeline to make sure.
P.S. Noticed some pip package errors due to dependencies with kfp 2.3.0 which was used to create this IR.yaml but I think those can be ignored.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amadhusu The full list of commands accepted by this bot can be found 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-4709
Description of your changes:
When user or odh provides ca bundles, we combine them and use them as the authoritative cert file in dsp and dsp user pipeline pods. If these certs are missing the system certs, then we end up in a situation where user pods cannot download from pypi. So this pr makes it so that in such an event, we include these certs in our custom ca bundle.
Testing instructions
First reproduce the issue:
odh-trusted-ca-bundle.yaml
package_install
)example_pipeline.yaml
The pipeline should fail, confirm that you see the error in the launcher
main
container:Then deploy the DSPO with the fixes, and try running the same pipeline again. It should succeed.
Checklist