File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 60
60
run : |
61
61
echo Deploying CodeFlare operator
62
62
IMG="${REGISTRY_ADDRESS}"/codeflare-operator
63
+ sed -i 's/RayDashboardOAuthEnabled: pointer.Bool(true)/RayDashboardOAuthEnabled: pointer.Bool(false)/' main.go
63
64
make image-push -e IMG="${IMG}"
64
65
make deploy -e IMG="${IMG}" -e ENV="e2e"
65
66
kubectl wait --timeout=120s --for=condition=Available=true deployment -n openshift-operators codeflare-operator-manager
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import (
22
22
"crypto/sha1"
23
23
"encoding/base64"
24
24
25
- "github.com/project-codeflare/codeflare-operator/pkg/config"
26
25
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
27
26
28
27
corev1 "k8s.io/api/core/v1"
@@ -42,6 +41,8 @@ import (
42
41
routev1 "github.com/openshift/api/route/v1"
43
42
routeapply "github.com/openshift/client-go/route/applyconfigurations/route/v1"
44
43
routev1client "github.com/openshift/client-go/route/clientset/versioned/typed/route/v1"
44
+
45
+ "github.com/project-codeflare/codeflare-operator/pkg/config"
45
46
)
46
47
47
48
// RayClusterReconciler reconciles a RayCluster object
@@ -64,8 +65,8 @@ const (
64
65
)
65
66
66
67
var (
67
- deletePolicy = metav1 .DeletePropagationForeground
68
- deleteOptions = client.DeleteOptions {PropagationPolicy : & deletePolicy }
68
+ deletePolicy = metav1 .DeletePropagationForeground
69
+ deleteOptions = client.DeleteOptions {PropagationPolicy : & deletePolicy }
69
70
configInstance * config.CodeFlareOperatorConfiguration
70
71
)
71
72
@@ -328,4 +329,3 @@ func (r *RayClusterReconciler) SetupWithManager(mgr ctrl.Manager) error {
328
329
For (& rayv1.RayCluster {}).
329
330
Complete (r )
330
331
}
331
-
Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ import (
6
6
"strconv"
7
7
"strings"
8
8
9
- ctrl "sigs.k8s.io/controller-runtime"
10
-
11
9
"github.com/go-logr/logr"
12
- routeapply "github.com/openshift/client-go/route/applyconfigurations/route/v1"
13
10
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
14
11
15
12
networkingv1 "k8s.io/api/networking/v1"
@@ -21,6 +18,9 @@ import (
21
18
"k8s.io/client-go/discovery"
22
19
"k8s.io/client-go/kubernetes"
23
20
"k8s.io/client-go/rest"
21
+ ctrl "sigs.k8s.io/controller-runtime"
22
+
23
+ routeapply "github.com/openshift/client-go/route/applyconfigurations/route/v1"
24
24
)
25
25
26
26
func serviceNameFromCluster (cluster * rayv1.RayCluster ) string {
You can’t perform that action at this time.
0 commit comments