Replies: 2 comments 19 replies
-
Hi @cldfzn , could you pls create a simple reproducer so we can take a look? It is very hard to figure out without code, and we hade some cases when the implementation of the desired was wrong (like based on actual state). So If you prepare a sample minimalistic project on Github that reproduces it, then we can check it very quickly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
provided a zip file of an example project, after creating a crd instance it goes through generations repeatedly. |
Beta Was this translation helpful? Give feedback.
19 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the SDK to create a custom resource which creates an ingress, service, and deployment. Similar to the webpage example. However what happens when I run the operator, it creates the resources just fine. It then does not match the desired deployment to the actual deployment and I get thousands of generations of the deployment. When running through the code, it seems like the matcher only prunes managed fields from the actual deployment. When passing a desired state to the SSA matcher, the provided DeploymentBuilder ends up with a few extra empty fields in the converted map and never matches. Am I doing something wrong with this implementation or do I need to somehow prune out all of the extra fields so it matches in the SSA matcher? Or write my own matcher?
Beta Was this translation helpful? Give feedback.
All reactions