Skip to content

Commit 75a2d23

Browse files
Add a ConfigMap for e2e tests
1 parent da57f8c commit 75a2d23

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060
run: |
6161
echo Deploying CodeFlare operator
6262
IMG="${REGISTRY_ADDRESS}"/codeflare-operator
63-
sed -i 's/RayDashboardOAuthEnabled: pointer.Bool(true)/RayDashboardOAuthEnabled: pointer.Bool(false)/' main.go
6463
make image-push -e IMG="${IMG}"
6564
make deploy -e IMG="${IMG}" -e ENV="e2e"
6665
kubectl wait --timeout=120s --for=condition=Available=true deployment -n openshift-operators codeflare-operator-manager

config/e2e/config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
kind: ConfigMap
2+
apiVersion: v1
3+
metadata:
4+
name: codeflare-operator-config
5+
data:
6+
config.yaml: |
7+
kuberay:
8+
rayDashboardOAuthEnabled: false

config/e2e/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
namespace: openshift-operators
22

33
bases:
4+
- config.yaml
45
- ../default
56

67
patches:

0 commit comments

Comments
 (0)