Skip to content

cluster-addon-values are not templated #116

@chess-knight

Description

@chess-knight

/kind bug

What steps did you take and what happened:

  1. Create cluster-addon-values.yaml, e.g.:
values: |
  metrics-server:
    commonLabels:
      domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}"
      clusterAddonVersion: "<< .ClusterAddonVersion >>"
  1. Run csctl create ...
  2. cluster-addon-values.yaml asset is without change

What did you expect to happen:

values: |
  metrics-server:
    commonLabels:
      domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}"
      clusterAddonVersion: "v2"

Anything else you would like to add:
It was mentioned also in SovereignCloudStack/cluster-stacks#43 (comment)

Environment:

  • csctl version: (use csctl version)
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

Labels

ContainerIssues or pull requests relevant for Team 2: Container Infra and ToolingbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions