Skip to content

Wrong versions in charts are not reported back to chart-assignment status #383

@ensonic

Description

@ensonic

If one specifies a bad version in an app.yaml / chartassignment.yaml the chart will be stuck in LoadingChart and one needs to consult the chartassignment-controller logs to see

Error: "retrieve chart: chart "kyverno" version "1.12.1" not found in https://kyverno.github.io/kyverno/ repository"

We should check that case here:
https://github.com/googlecloudrobotics/core/blob/main/src/go/pkg/controller/chartassignment/release.go#L206

and report the error instead of retrying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions