Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

BUG: Silently defaults to latest module version if invalid version is passed #298

Description

@daniel-butler-irl

If you pass an invalid module version it appears to silently replace the version with the latest. I think it should throw an error and at the very least give a warning.

apiVersion: cloudnativetoolkit.dev/v1alpha1
kind: BillOfMaterial
metadata:
  name: test
spec:
  modules:
    - name: ibm-resource-group
      version: not_a_valid_version

This BOM successfully builds with not warnings, uses the latest version of ibm-resource-group

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions