-
Notifications
You must be signed in to change notification settings - Fork 369
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
Upgrade K8s API version and move Octant plugin to seperate folder #838
Upgrade K8s API version and move Octant plugin to seperate folder #838
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
@tnqn For this change, I temporarily remove the client-go replacement you have added previously in go.mod. Could you help provide another one with K8s API 1.18 after we decide to have this change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
I believe this PR will also close Support latest client-go updates #525?
-
Can we add an extra level of directory:
plugins/
->plugins/octant/
-
I think this approach (new Go module for the Octant plugin) is an improvement, even though the new module is kind of "second-class" since we are stuck with the
github.com/vmware-tanzu/antrea => ../
replace
statement unless we are very careful about updating the dependency on a correct Antrea version -
Please remove the following sentence from your commit message, you have a single commit anyway :):
Note: 1 and 2 need to be in the same commit since 2 will reply on
the updated Antrea with K8s API 1.18
@antoninbas Thanks for the comments. I will update them in the next patch. |
Sure, will do, but I suggest to base on latest 1.18 patch release. |
7197619
to
d77afd8
Compare
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
ff8871f
to
d7030f5
Compare
I think you need to fix api usages in test files. |
31cfd12
to
ae8105b
Compare
/test-all |
/test-windows-conformance |
1 similar comment
/test-windows-conformance |
@tnqn @antoninbas I have updated tidy-check.sh, please help take a look. Confirmed with @weiqiangt, Makefile target docker-tidy seems to be useless, so I remove this target and we will only keep tidy and test-tidy. |
/test-windows-conformance |
ae8105b
to
66f0b7d
Compare
/test-all |
/test-windows-conformance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I like the change to move Octant plugin to a separate project/dir. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me, I just have questions about the changes to tidy-check.sh
66f0b7d
to
74b81fc
Compare
/test-all |
74b81fc
to
637bd2c
Compare
/test-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a nit-picking comment
5bedb9c
to
44a06e1
Compare
/test-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
44a06e1
to
995fb18
Compare
Resolve merge conflict for test/e2e/security_test.go |
/test-all |
995fb18
to
98078b2
Compare
/test-all |
/test-conformance |
/test-all |
1 similar comment
/test-all |
/skip-all |
Have confirmed that the latest Jenkins CI failures have nothing to do with this change. Since it has already passed Jenkins CI check previously and the latest update is just to address merge conflicts, merge this one. |
To use latest version of octant and decouple K8s API version dependency between Antrea and Octant, this patch includes the following changes. 1. Upgrade Antrea K8s API to 1.18 which already contains some broken API changesfor generated client like extra field of context. In this way, we can just use same client for both Antrea and plugins. There will be no duplicate code introduced. 2. Move Octant plugins to a separate folder named plugins and make it a separate sub project. 3. Use latest octant 0.13.1 which has fixes graphviz related issues, so that traceflow-plugin can use this later. Fixes: antrea-io#837, antrea-io#525
…lder (antrea-io#838)" This reverts commit a054093 Signed-off-by: Weiqiang TANG <weiqiangt@vmware.com>
…trea-io#838) To use latest version of octant and decouple K8s API version dependency between Antrea and Octant, this patch includes the following changes. 1. Upgrade Antrea K8s API to 1.18 which already contains some broken API changesfor generated client like extra field of context. In this way, we can just use same client for both Antrea and plugins. There will be no duplicate code introduced. 2. Move Octant plugins to a separate folder named plugins and make it a separate sub project. 3. Use latest octant 0.13.1 which has fixes graphviz related issues, so that traceflow-plugin can use this later. Fixes: antrea-io#837, antrea-io#525
…trea-io#838) To use latest version of octant and decouple K8s API version dependency between Antrea and Octant, this patch includes the following changes. 1. Upgrade Antrea K8s API to 1.18 which already contains some broken API changesfor generated client like extra field of context. In this way, we can just use same client for both Antrea and plugins. There will be no duplicate code introduced. 2. Move Octant plugins to a separate folder named plugins and make it a separate sub project. 3. Use latest octant 0.13.1 which has fixes graphviz related issues, so that traceflow-plugin can use this later. Fixes: antrea-io#837, antrea-io#525
To use latest version of octant and decouple K8s API
version dependency between Antrea and Octant, this patch
includes the following changes.
Upgrade Antrea K8s API to 1.18 which already contains
some broken API changesfor generated client like extra field of context.
In this way, we can just use same client for both Antrea and plugins.
There will be no duplicate code introduced.
Move Octant plugins to a separate folder named plugins
and make it a separate sub project.
Use latest octant 0.13.1 which has fixes graphviz related issues,
so that traceflow-plugin can use this later.
Fixes: #837, #525