mia-platform / mlp

cli for easier deployment of Mia-Platform Console projects
https://docs.mia-platform.eu/docs/runtime_suite_tools/mlp/overview
Apache License 2.0
12 stars 2 forks source link

[Bug]: error `resource field is empty` when remove resources and after that apply some resources #79

Closed davidebianchi closed 1 year ago

davidebianchi commented 1 year ago

What version or versions you have tested?

1.2.0

Which operating systems have you used?

What did you expect to happen?

It should works without error

What happened instead?

The behaviour is documented in this test: https://github.com/mia-platform/mlp/blob/main/pkg/deploy/utils_test.go#L128C1-L143

But it could happen when a namespace is emptied. The only way to success in this case is to delete the secret and recreate it.

Code of Conduct