Skip to content

YAML parsing regression? #5084

@shane-davidson

Description

@shane-davidson

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

We install rancher to downstream clusters via Fleet. This was previously working fine. (on version 2.13.x)

When upgrading to 2.14.1 we now get the error:

error merging manifests: parsing rancher/templates/post-delete-hook-config-map.yaml: MalformedYAMLError: yaml: line 106: could not find expected ':']; WaitApplied(1) [Cluster rancher-production/rancher-comp]; deployment.apps cattle-system/rancher modified {"spec":{"replicas":3}}

Also installing rancher 2.14.1 chart to the downstream cluster. I check the rancher chart for changes to the related files (there are none) which leads me to believe this behaviour is related to fleet changes

Our fleet file looks like this:

---
defaultNamespace: cattle-system
helm:
  repo: "https://releases.rancher.com/server-charts/stable"
  chart: rancher
  version: 2.14.1
  releaseName: rancher
  values:
     we only set the ingress/hostname/bootstrap password

Expected Behavior

I would expect the YAML parsing to still work given the chart did not change those files.

Steps To Reproduce

No response

Environment

- Architecture: 
- Fleet Version:
- Cluster:
  - Provider: RKE2
  - Options:
  - Kubernetes Version: 1.34

Logs

Anything else?

possible related to #5076 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions