-
Notifications
You must be signed in to change notification settings - Fork 3k
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
CMD: Add json output on endpoint config #3234
Conversation
I saw, a few times, issues where the config cannot be retrieved correctly because `endpoint config` does not have `-o json` support. Added json support to stop failing in the test. Related with failures in `Conntrack-related configuration options for endpoints` test. Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
test-me-please |
@eloycoto what were the failures you saw, exactly? Has this been linked to build failures in master? |
From: https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/415/
|
@eloycoto thanks! This is quite worrisome to me :( |
We always set the config, doesn't matter if the value is the same.
|
@eloycoto got it, makes more sense. To avoid this sort of issue in future helper functions, I think as the helpers get more complex, we can use |
Yes, but I do not really like having I'm thinking in situations that you want to create a container without valid data, or test invalid config options for an endpoint. If error, it should be logged and returned. IMHO. |
I saw, a few times, issues where the config cannot be retrieved
correctly because
endpoint config
does not have-o json
support.Added json support to stop failing in the test. Related with failures in
Conntrack-related configuration options for endpoints
test.Signed-off-by: Eloy Coto eloy.coto@gmail.com