Skip to content

Commit

Permalink
Add a ConfigMap for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti authored and openshift-merge-bot[bot] committed Apr 15, 2024
1 parent da57f8c commit 75a2d23
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
run: |
echo Deploying CodeFlare operator
IMG="${REGISTRY_ADDRESS}"/codeflare-operator
sed -i 's/RayDashboardOAuthEnabled: pointer.Bool(true)/RayDashboardOAuthEnabled: pointer.Bool(false)/' main.go
make image-push -e IMG="${IMG}"
make deploy -e IMG="${IMG}" -e ENV="e2e"
kubectl wait --timeout=120s --for=condition=Available=true deployment -n openshift-operators codeflare-operator-manager
Expand Down
8 changes: 8 additions & 0 deletions config/e2e/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: codeflare-operator-config
data:
config.yaml: |
kuberay:
rayDashboardOAuthEnabled: false
1 change: 1 addition & 0 deletions config/e2e/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace: openshift-operators

bases:
- config.yaml
- ../default

patches:
Expand Down

0 comments on commit 75a2d23

Please sign in to comment.