Skip to content

Agent chart 3.0.0: require modelConfig.name #124

Closed

Description

@QuentinBisson

Part of giantswarm/giantswarm-platform-manager#789 (ship an empty platform; the default model is the ModelConfig annotated agent-platform.giantswarm.io/is-default-model-config: "true"; several annotated in a namespace means no default, like IngressClass).

Problem

modelConfig.name defaults to default-model-config, which no longer exists once installations ship without a default.

Change

  • modelConfig.name becomes required (values.schema.json and required); the error message points at the namespace's default, the ModelConfig annotated agent-platform.giantswarm.io/is-default-model-config. No lookup and no webhook: GitOps users name the model, and the portal and create_agent write the concrete name.
  • Major bump to 3.0.0, with a breaking CHANGELOG entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Validation ☑️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions