rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
460 stars 261 forks source link

Configmap data given in values.yaml is not applied to configmap when Neuvector chart deployed from Rancher Manager. #7698

Open selvamt94 opened 2 years ago

selvamt94 commented 2 years ago

Rancher Server Setup

Information about the Cluster

anupama2501 commented 2 years ago

Reproduced the issue on v2.6.7 with NeuVector neuvector:100.0.1+up2.2.2

  1. Install neuvector chart from apps & market place >> NeuVector chart
  2. While installing the chart, from edit as yaml >> under controller >> configmap >> data >> add the following values:
    configmap:
    enabled: true
    data: 
      userinitcfg.yaml: |
        users:
        - EMail: user1@email.com
          Password: password
          Role_Domains:
          admin:
            - admin1
            - admin2
  3. In the request tab, the data is not parsed and shows null as a result the config map gets created with null data. configmap
MKlimuszka commented 2 years ago

I checked with Selvam on Slack and it doesn't look like a release blocker for 2.7.0. But we will work on triaging it soon.

MKlimuszka commented 1 year ago

@PennyScissors Do you want to look at this, or assign it to someone else on the team?

pennyscissors commented 1 year ago

@MKlimuszka Based on Anupama's comment, I think this is a UI issue since it happens before the request is made to the backend.

prachidamle commented 1 year ago

@gaktive transferred this to UI team to take a look.