Skip to content

byoa / helm install failure / invalid syntax for metrics template #14

@eastwood-c

Description

@eastwood-c

Description

Failure to install the harness BYOA agent using a reasonably vanilla values set.

Detail

  1. In the harness platform, navigate to an organization
  2. Open GitOps agents and start a new agent process
  3. Complete the visual interface
  4. Follow the installation instructions presented on the screen.

Error Detail

Error: INSTALLATION FAILED: 1 error occurred:
* Service ".Values.agent.name-metrics" is invalid: metadata.name: Invalid value: ".Values.agent.name-metrics": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123', regex used for validation is 'a-z?')

It seems like this is invalid syntax, the quotes should surround the template syntax. Instead, the quotes are causing a literal ".Values.metrics.name"-metrics value to be expressed.

Permalink to suspected issue

name: {{ ".Values.agent.name" }}-metrics

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