oracle-cne / ocne

The Oracle Cloud Native Environment CLI
Universal Permissive License v1.0
1 stars 0 forks source link

BootVolumeContainerImage only supports image tags in format /ock or /ock:major.minor #4

Closed George-Aeillo closed 2 weeks ago

George-Aeillo commented 1 month ago

Summary: During testing, it was noticed that it the bootVolumeContainerImages have to be in a format /ock:major.minor version, or /ock. If you try to pass in a user branch, like /ock:mybranch, it would convert it to /ock:mybranch:1.30, for example, which is an incorrect image format.

Steps to Reproduce:

  1. Create a bootVolumeContainerImage in the format: sample-url/ock:mybranch
  2. Clear your ~/.ocne/images directory and boot.qcow2-1.29 volume
  3. Try to create a cluster with kubernetesVersion: 1.29 and with bootVolumeContainerImage: sample-url/ock:mybranch

Expected Results: The expected result is that the cluster should successfully create.

Actual Results: The actual result is it fails due to the converted bootVolumeContainerImage tag being in invalid format.

References: Reported By - George and Zaid