-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
None
-
False
-
-
Testable
-
No
-
-
-
-
-
-
-
1.21.0-z
-
No
-
No
-
Pending
-
None
-
-
-
RHODS 1.21
OpenShift Cluster can set cluster-wide proxy settings but RHODS jupyter notebook does not honor the configuration. In order to support SSL PROXY server, Jupyter Notebook object needs to set HTTP_PROXY/HTTPS_PROXY/NO_PROXY as an environmental variable and needs to inject ca certificate into the container.
For a better understanding, please refer to this doc.
https://docs.google.com/document/d/1ngBb6v428ywr1ZXSzslPotFezd9iVwh0zX2DGeJ1H4M/edit#
Required changes:
- ODH-DASHBOARD(https://github.com/opendatahub-io/odh-dashboard/blob/main/backend/src/types.ts#L359-L389)
- add env
- HTTP_PROXY/HTTPS_PROXY/NO_PROXY
- mount volume
volumeMounts: - mountPath: /etc/tls/private name: tls-certificates volumes: - configMap: items: - key: ca-bundle.crt path: tls-ca-bundle.pem name: trusted-ca name: trusted-ca
- add env
-
- For PIP, one env needs to be set
env: - name: PIP_CERT value: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
- For PIP, one env needs to be set
- ODH-MANIFESTS
-
- Create a ConfigMap
- Add a label config.openshift.io/inject-trusted-cabundle="true"