Skip to content

Commit

Permalink
Fix InstaScale ConfigMap configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Aug 11, 2023
1 parent 5b47d6a commit 9702d33
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jobs:
echo Deploying CodeFlare operator
IMG="${REGISTRY_ADDRESS}"/codeflare-operator
make image-push -e IMG="${IMG}"
# FIXME
kubectl create ns openshift-operators
kubectl apply -n openshift-operators -f config/default/instascale-configmap.yaml
make deploy -e IMG="${IMG}"
kubectl wait --timeout=120s --for=condition=Available=true deployment -n openshift-operators codeflare-operator-manager
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ bases:
resources:
# Add metrics service
- metrics_service.yaml
# TODO: refactor configuration
- instascale-configmap.yaml

# Mount the controller config file for loading manager configurations
# through a ComponentConfig type
Expand Down
1 change: 0 additions & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
resources:
- manager.yaml
- instascale-configmap.yaml

generatorOptions:
disableNameSuffixHash: true
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=0.0.0.0:8082"
- "--leader-elect"
- "--configs-namespace=codeflare-system"
- "--configs-namespace=openshift-operators"
image: controller:latest
imagePullPolicy: Always
name: manager
Expand Down

0 comments on commit 9702d33

Please sign in to comment.