Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Rancher provider injects whitespace into rke_config yaml which breaks the Rancher UI. #1457

Open
st33v opened this issue Dec 18, 2024 · 0 comments
Labels

Comments

@st33v
Copy link

st33v commented Dec 18, 2024

Rancher Server Setup

  • Rancher version: v2.9.1
  • Installation option (Docker install/Helm Chart): Not sure.
  • Proxy/Cert Details: n/a

Information about the Cluster

  • Kubernetes version: v1.30.6+rke2r1
  • Cluster Type (Local/Downstream): Downstream
  • Infrastructure Provider = vSphere

User Information

  • What is the role of the user logged in? Admin

Provider Information

  • What is the version of the Rancher v2 Terraform Provider in use? reproduced with v5.x and v6
  • What is the version of Terraform in use? Terraform v1.0.11 on windows_amd64

Describe the bug

I'm using the rancher provider and adding a couple of add-on configuration options related to vSphere. The provider works fine, BUT when I look in the UI, I'm missing parts of my vSphere options...

image

When I view the YAML, I see that the values ARE there, but so is a single line of whitespace (line 314):

image

If I remove that whitespace, the UI displays my add-on config normally.

To Reproduce

Use the TF rpoivider to spin up a cluster with some vSphere add-on configs?

Actual Result

The TF provider pooped a blank line into my config and broke the UI.

Expected Result

I'd expect that the provider would clean up any undesirable characters before talking to the Rancher UI.

Screenshots

see above.

Additional context

nope.

@st33v st33v added the kind/bug label Dec 18, 2024
@st33v st33v changed the title [BUG] Rancher provider injects whitespace into rye_config yaml which breaks the Rancher UI. [BUG] Rancher provider injects whitespace into rke_config yaml which breaks the Rancher UI. Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant