Closed zmalik closed 7 years ago
:+1:
Hi, just to let you know that this isn't an abandoned project: I'll have a more in depth look later on.
@rollulus great to know, I just evaluated the implementation of both options. And to keep it going on my side I did the option 1. As option 2 is caused by random order in Go maps. Trying to use a treemap implementation would be way too many changes in the code.
I'm going to open a PR so you can visualize the option 1 better.
This issue can be mitigated using the disable step feature of landscaper
Closing the issue
Hi guys,
We are trying to use landscaper to deploy charts in our kubernetes cluster. And we have got a use case here. I'm posting here so maybe somebody can shed light on it.
We are deploying namespaces and pods using landscape. But when we apply, landscape sends all components to be created to helm. And as helm is trying to apply the state. Sometimes it tries to create a pod which belongs to a namespace that hasn't been created yet.
So what can be possible solutions of this?
That would be one approach. Letting people disable delete/update/create stages in landscaper using some flag. That would solve our use case also.
Make it respect the order, only in create components stage, and in first place send to helm files1 and once finished then send the files2.
That would solve our use case also. But don't know if other users can find a use case to be solved here.
In both cases, we are happy to collaborate and can create the PR, once we have reached a consensus about some possible solution.
Thanks