project-codeflare / instascale

On-demand Kubernetes/OpenShift cluster scaling and aggregated resource provisioning
Apache License 2.0
10 stars 20 forks source link

Ensure deployment of configmap, and ocm-secret setup. #138

Closed VanillaSpoon closed 1 year ago

VanillaSpoon commented 1 year ago

Describe the Bug

Currently the configmap is not being deployed alongside instascale for local development, which is needed.

The permissions for the ocm-secret is added to the kustomize manifests however, this will be regenerated and removed when running make deploy. So this also needs to be added.

Codeflare Stack Component Versions

Instascale

Steps to Reproduce the Bug

  1. Run make deploy to deploy Instascale.
  2. Add your instascale-ocm-secret
  3. Check the pod logs, and there will be a message stating the configmap has not been deployed.
  4. Deploy the Instascale configmap independently.
  5. Instascale will be unable to find the OCM secret and will automatically switch to machinesets. Even if an ocm secret is added.

Expected Behavior

These should be deployed and found without issue.