Skip to content

Rancher Cluster Templates not applying labels #51

Open
@shabazzfsher

Description

@shabazzfsher

RGS customer is experiencing an issue with the AWS cluster template in the Rancher Cluster Templates Helm chart (v0.6.1). Labels and taints defined in the values.yaml file are not being applied to clusters as expected. The issue seems to originate in the AWS template file:
https://github.com/rancherfederal/rancher-cluster-templates/blob/rancher-cluster-templates-0.6.1/charts/cluster-templates/templates/nodeconfig-aws.yaml

  • The nodepools section starts at line 3, but it doesn’t handle labels or taints.
  • The nodepool section, starting at line 122, does include logic for labels and taints, but it doesn’t align with the way the values.yaml file is structured.

Additionally, the values-aws.yaml file only includes a nodepools section, with no mention of nodepool:
https://github.com/rancherfederal/rancher-cluster-templates/blob/rancher-cluster-templates-0.6.1/charts/cluster-templates/values-aws.yaml

This discrepancy results in labels and taints being ignored unless they are manually applied or the Helm template is adjusted accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions