diff --git a/components/odh-notebook-controller/controllers/notebook_controller.go b/components/odh-notebook-controller/controllers/notebook_controller.go index a3be9d42ce7..1a4fe139397 100644 --- a/components/odh-notebook-controller/controllers/notebook_controller.go +++ b/components/odh-notebook-controller/controllers/notebook_controller.go @@ -362,7 +362,7 @@ func (r *OpenshiftNotebookReconciler) UnsetNotebookCertConfig(notebook *nbv1.Not log := r.Log.WithValues("notebook", notebook.Name, "namespace", notebook.Namespace) // Get the notebook object - envVars := []string{"PIP_CERT", "REQUESTS_CA_BUNDLE", "SSL_CERT_FILE", "PIPELINES_SSL_SA_CERTS"} + envVars := []string{"PIP_CERT", "REQUESTS_CA_BUNDLE", "SSL_CERT_FILE", "PIPELINES_SSL_SA_CERTS", "GIT_SSL_CAINFO"} notebookSpecChanged := false patch := client.MergeFrom(notebook.DeepCopy()) copyNotebook := notebook.DeepCopy() diff --git a/components/odh-notebook-controller/controllers/notebook_webhook.go b/components/odh-notebook-controller/controllers/notebook_webhook.go index 19608bc03a6..aa6bdf748d8 100644 --- a/components/odh-notebook-controller/controllers/notebook_webhook.go +++ b/components/odh-notebook-controller/controllers/notebook_webhook.go @@ -332,6 +332,7 @@ func InjectCertConfig(notebook *nbv1.Notebook, configMapName string) error { "REQUESTS_CA_BUNDLE": configMapMountPath, "SSL_CERT_FILE": configMapMountPath, "PIPELINES_SSL_SA_CERTS": configMapMountPath, + "GIT_SSL_CAINFO": configMapMountPath, } notebookContainers := ¬ebook.Spec.Template.Spec.Containers