-
Notifications
You must be signed in to change notification settings - Fork 38
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
setup configmap with certs and mount them in required workbenches #270
setup configmap with certs and mount them in required workbenches #270
Conversation
00db350
to
6b587a1
Compare
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.
LGTM. Verified the scenarios listed in the PR description.
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.
Great work!! 👍
Tested locally and it works as expected
/lgtm
Signed-off-by: Harshad Reddy Nalla <hnalla@redhat.com>
…gmap Signed-off-by: Harshad Reddy Nalla <hnalla@redhat.com>
32b944a
to
66533d2
Compare
Rebased. |
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.
/lgtm
components/odh-notebook-controller/controllers/notebook_controller.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Harshad Reddy Nalla <hnalla@redhat.com> Co-authored-by: Ramakrishna Pattnaik <rkpattnaik780@gmail.com>
c6d6c0f
to
f44055f
Compare
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.
/lgtm
@harshad16: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/approve Merging to get this in release. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16, rkpattnaik780 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 |
/cherrypick stable |
@harshad16: new pull request created: #279 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
setup configmap with certs and mount them in required workbenches
Description
The current approach is to mount all the odh-trusted certs to the workbench on custom location
/etc/pki/tls/certs/custom-*
, this path is not recognized directly by pods, either the pods needs to be run withupdate-ca-trust
which is only possible in root mode.based on that, this is new approach, which notices the
odh-trusted-ca-bundle
configmap and also self-signed certs available on thekube-root-ca.cert
confimap, combines these two into a new configmap and mounts it into in notebookwhich satisfies the pattern that both
odh-trusted-ca-bundle
andworkbench-ca-bundle
exists.The concatenation of the ca-bundle provided in
odh-trusted-ca-bundle
into a new configmap is inspired by the work done on data-science-pipeline-operator: opendatahub-io/data-science-pipelines-operator#575The edges-case, yet to work on:
How Has This Been Tested?
workbench-trusted-ca-bundle
odh-trusted-ca-bundle
andworkbench-trusted-ca-bundle
should reconcile the notebook which have the volume mount attached.These were scenarios tested on.
Merge criteria: