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 c3a4d52
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
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: 1 addition & 0 deletions config/default/manager_config_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
- name: manager
args:
- "--config=controller_manager_config.yaml"
- "--configs-namespace=openshift-operators"
volumeMounts:
- name: manager-config
mountPath: /controller_manager_config.yaml
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
1 change: 0 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ spec:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=0.0.0.0:8082"
- "--leader-elect"
- "--configs-namespace=codeflare-system"
image: controller:latest
imagePullPolicy: Always
name: manager
Expand Down

0 comments on commit c3a4d52

Please sign in to comment.