Skip to content

[RKE2/k3s] Configuration changes made as YAML lost #12002

@skanakal

Description

@skanakal

Setup

  • Rancher version: 2.9.2
  • Rancher UI Extensions:
  • Browser type & version: Any

Describe the bug

To Reproduce

  • Create a downstream RKE2 cluster (use defaults where desired, no editing as YAML at this step)
  • After the cluster is provisioned, edit the cluster in Cluster Management with the "Edit YAML" button
  • Add helm values to rkeConfig.chartValues (this is a basic way to repro the issue) and save, example:
         rkeConfig:
           chartValues:
             rke2-ingress-nginx:
               controller:
                 extraArgs:
                   enable-ssl-passthrough: true
                   watch-ingress-without-class: true
  • Back in the form, make another basic change, such as disabling etcd recurring snapshots, and save
  • Review the cluster YAML again, the chartValues are removed

Result

Expected Result

these values be modified in the YAML area without being reverted when the form is saved

Screenshots

addonconfig.mp4

Additional context

Add-on Config (-----> rkeConfig.chartValues) currently only configures the CNI (Calico, Cilium,..) settings by default from the values.yaml in the RKE2 charts repository (https://github.com/rancher/rke2-charts/tree/main-source/packages) and does not apply to the ingress controller or other charts...

Internal ref: SURE-8962

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions