rancher / dashboard

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

Unable to select existing PVC from dropdown when editing a deployment #10230

Closed winsonchao closed 9 months ago

winsonchao commented 10 months ago

Setup

Describe the bug When editing a deployment to add an existing PVC, dropdown shows "Sorry, no matching options"

To Reproduce

  1. Create a PVC
  2. Edit a deployment
  3. Choose Pod -> Storage -> Add Volume -> Persistent Volume Claim

Result Dropdown shows "Sorry, no matching options"

Expected Result Show existing PVCs for the namespace

Screenshots image image

Additional context The issue can be workaround by using Edit as Yaml

ampie commented 9 months ago

We encountered the same behaviour on ConfigMap and Secret Volumes

aalves08 commented 9 months ago

@winsonchao I cannot replicate this issue on 2.7.9 neither in 2.8.0

Screenshot 2024-01-17 at 16 05 10

https://github.com/rancher/dashboard/assets/97888974/d99a4dab-d563-436f-9fdb-f13207c1fc77

FYI @gaktive @nwmac

nwmac commented 9 months ago

We can't reproduce this - the PVC must be in the same namespace as the deployment, could that be your issue?

Closing as can not reproduce - please re-open with more detailed reproduction steps if you still see this problem.