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

Preview shouldn't affect current running resource configure #2184

Open
aiwantaozi opened this issue Mar 6, 2024 · 0 comments
Open

Preview shouldn't affect current running resource configure #2184

aiwantaozi opened this issue Mar 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working in a real release

Comments

@aiwantaozi
Copy link
Contributor

Describe the bug
After editing configure and previewing a running resource, the resource configuration is changed, even after aborting the preview configuration, the current resource configuration does not match the currently running configuration.
Steps to reproduce

  1. Create a resource with template builtin/kubernetes-containerservice, input the image then save and deploy
  2. After deployed successfully, then edit the resource configure, and set env as below
image
  1. Then save and preview.
  2. After the preview run success, then check the current resource configuration, the env is changed as image above, the preview should not affect the current resource configuration.
  3. Abort the plan, the current resource configuration still has the env, check the running k8s deployment/pod, it doesn't have env configuration.

Result
Preview changes the current running resource's configuration.

Expected behavior
Preview shouldn't change the current running resource's configuration.

Environment

Additional context
Add any other context about the problem here.

@aiwantaozi aiwantaozi added the bug Something isn't working in a real release label Mar 6, 2024
@gitlawr gitlawr added this to the v0.6.0 milestone Mar 12, 2024
@gitlawr gitlawr removed this from the v0.6.0 milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in a real release
Projects
None yet
Development

No branches or pull requests

3 participants