diff --git a/components/odh-notebook-controller/controllers/notebook_controller_test.go b/components/odh-notebook-controller/controllers/notebook_controller_test.go index ef39fa6e0e2..9bf386dbddd 100644 --- a/components/odh-notebook-controller/controllers/notebook_controller_test.go +++ b/components/odh-notebook-controller/controllers/notebook_controller_test.go @@ -648,7 +648,7 @@ var _ = Describe("The Openshift Notebook controller", func() { Name: "oauth-client", VolumeSource: corev1.VolumeSource{ Secret: &corev1.SecretVolumeSource{ - SecretName: Name + "-oauth-client-generated", + SecretName: Name + "-oauth-client", DefaultMode: pointer.Int32Ptr(420), }, }, diff --git a/components/odh-notebook-controller/controllers/notebook_webhook.go b/components/odh-notebook-controller/controllers/notebook_webhook.go index 1e1387f4c9f..1739f06a75d 100644 --- a/components/odh-notebook-controller/controllers/notebook_webhook.go +++ b/components/odh-notebook-controller/controllers/notebook_webhook.go @@ -214,7 +214,7 @@ func InjectOAuthProxy(notebook *nbv1.Notebook, oauth OAuthConfig) error { Name: "oauth-client", VolumeSource: corev1.VolumeSource{ Secret: &corev1.SecretVolumeSource{ - SecretName: notebook.Name + "-oauth-client-generated", + SecretName: notebook.Name + "-oauth-client", DefaultMode: pointer.Int32Ptr(420), }, },