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: kusion apply can't apply Kubernetes resources in some condition #1287

Closed
Yangyang96 opened this issue Sep 13, 2024 · 0 comments · Fixed by #1288
Closed

Bug: kusion apply can't apply Kubernetes resources in some condition #1287

Yangyang96 opened this issue Sep 13, 2024 · 0 comments · Fixed by #1288
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@Yangyang96
Copy link
Contributor

What happened?

I successfully applied the example project kawesome, which included a Terraform resource. However, after that when I modified my app configuration to add some Kubernetes resources and attempted to re-apply, I encountered the following issue. However, the reverse order did not produce the issue.

✔︎  Generating Spec in the Stack default...                                                                                                                                                       
 ✘  preview failed.
      Kind: ERROR, Code: INTERNAL, Message: preview failed.
      Kind: ERROR, Code: INTERNAL, Message: runtime error: invalid memory address or nil pointer dereference

What did you expect to happen?

My re-apply operation should work functionally.

How can we reproduce it (as minimally and precisely as possible)?

Apply a project with Terraform resources, and after that apply some Kubernetes resources under the same project.

Anything else we need to know?

No response

Kusion version

$ kusion version
# paste output here

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

@Yangyang96 Yangyang96 added the kind/bug Something isn't working label Sep 13, 2024
@liu-hm19 liu-hm19 added this to the v0.13.0 milestone Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants