Skip to content

Commit

Permalink
use namespace from ray cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin <kpostlet@redhat.com>
  • Loading branch information
KPostOffice authored and openshift-merge-bot[bot] committed May 2, 2024
1 parent 146b88d commit a761951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/raycluster_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func oauthProxyContainer(rayCluster *rayv1.RayCluster) corev1.Container {
"--tls-cert=/etc/tls/private/tls.crt",
"--tls-key=/etc/tls/private/tls.key",
"--cookie-secret=$(COOKIE_SECRET)",
"--openshift-delegate-urls={\"/\":{\"resource\":\"pods\",\"namespace\":\"default\",\"verb\":\"get\"}}",
"--openshift-delegate-urls={\"/\":{\"resource\":\"pods\",\"namespace\":\"" + rayCluster.Namespace + "\",\"verb\":\"get\"}}",
},
VolumeMounts: []corev1.VolumeMount{
{
Expand Down

0 comments on commit a761951

Please sign in to comment.