seal-io / walrus

Walrus is an open-source application management platform based on IaC tools including OpenTofu, Terraform and others. It helps platform engineers build golden paths for developers and empowers developers with self-service capabilities.
Apache License 2.0
427 stars 48 forks source link

Modifying the resource definition configuration affects the settings of created resources #1943

Closed Finenyaco closed 9 months ago

Finenyaco commented 9 months ago

Describe the bug

Steps to reproduce

  1. Create a resource definition as below.
image
  1. Using the above definition to create a resource.
  2. Edit the definition, add a Files property as below and save. image
  3. Check the settings of the resource created in step 2.

Result

  1. It shows that 'Files' are configured, but it has not been deployed in reality. image

Expected behavior

Environment

Additional context Add any other context about the problem here.

Finenyaco commented 9 months ago

Environment

Test Result:

When the disabled field is reactivated, the default value is not displayed.

https://github.com/seal-io/walrus/assets/26084756/3b6c079e-0a1d-489d-b515-69c0d8228a51

Finenyaco commented 9 months ago

Environment

Test Result: Failed

Finenyaco commented 9 months ago

Environment

Test Result: pass