Eoghan Russell
1aac2431b8
Fix broken link in README ( #919 )
2022-09-26 23:26:25 +09:00
Doug Smith
f372831536
Merge pull request #915 from s1061123/fix/delegate-api
...
Fix deleate API to load conflist
2022-09-20 13:19:58 -04:00
Tomofumi Hayashi
3e97437e31
Fix deleate API to load conflist
2022-09-21 01:56:53 +09:00
Miguel Duarte Barroso
b1aba95892
Idiomatic config unit tests ( #908 )
...
* gomega, unit tests: use `HaveLen` matcher
The `HaveLen` matcher provides a better error msg when the test fails,
resulting in easier debugging.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
* gomega, unit tests: use `BeEmpty` matcher
The `BeEmpty` matcher is more idiomatic, and results in better error
msgs when the test fails.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
* gomega, unit tests: use `BeTrue` and `BeFalse` matchers
These matchers are more idiomatic.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
2022-09-19 10:22:08 -04:00
Doug Smith
371123659b
Merge pull request #906 from TimFroidcoeur/fix_multiple_default_gw
...
fix multiple default gw
2022-09-01 16:18:38 -04:00
Tim Froidcoeur
8da20f38ea
fix multiple default gw
...
when the configuration specifies both an IPv4 and IPv6 default route,
the IsFilterV4Gateway and IsFilterV6Gateway flags should both be false,
to allow the gateway configuration.
The logic in CheckGatewayConfig would do the inverse, setting both to
true in case of both IPv4 and IPv6 gateway.
Fixes: d52f2b6a
("Update libcni cache when default-route net selection
is used")
Signed-off-by: Tim Froidcoeur <tim.froidcoeur@tessares.net>
2022-09-01 16:50:19 +02:00
Doug Smith
d93a3bb736
Merge pull request #899 from jklare/jk_readme_thick_plugin
...
rephrase readme section describing thin vs thick plugin
2022-08-26 15:11:52 -04:00
Doug Smith
e882d51b3c
Merge pull request #903 from s1061123/dev/fedora-image
...
[WIP]Change container image to python:slim from centos
2022-08-26 14:35:23 -04:00
Tomofumi Hayashi
db7cc6bc80
Change container image to fedora from centos
...
This change introduce fedora container for multus image.
2022-08-27 02:57:58 +09:00
Doug Smith
33c0d1bd86
Merge pull request #900 from s1061123/fix/image-tag
...
Fix container tags for thick plugin
2022-08-25 11:29:17 -04:00
Tomofumi Hayashi
12c6c91586
Fix container tags for thick plugin
2022-08-25 23:07:32 +09:00
Jan Klare
2f12b5ce99
rephrase readme section describing thin vs thick plugin
...
Signed-off-by: Jan Klare <jan.klare@bisdn.de>
2022-08-24 14:45:26 +02:00
Doug Smith
0c515497d7
recommends thick plugin in quickstart ( #894 )
2022-08-24 20:23:33 +09:00
Doug Smith
68a9593f84
Merge pull request #897 from s1061123/fix/add-disclaimers
...
Update deployment yaml
2022-08-22 13:35:21 -04:00
Tomofumi Hayashi
95c4d0c1c5
Update deployment yaml
...
This change adds note section in deployment yaml to explicitly
mention the scope of this yaml.
2022-08-23 01:19:24 +09:00
Doug Smith
5498080119
Merge pull request #893 from k8snetworkplumbingwg/feature/multus-4.0
...
Feature/multus 4.0
2022-08-18 16:48:02 -04:00
Tomofumi Hayashi
3d9cec4ec9
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-08-19 00:07:30 +09:00
Tomofumi Hayashi
505ab4567c
Add delegate API in multus-daemon ( #890 )
...
This changes introduce delegate API function in multus-daemon.
This API will be consumed from other programs for hot-plug
interface into running pod. This change also cleanups server
code to split into client code and server code to easy to import
from other golang code.
2022-08-10 00:45:23 +09:00
Doug Smith
8dee74d7b9
Merge pull request #870 from s1061123/dev/doc-modified
...
Add 4.0 document
2022-08-01 11:19:02 -04:00
Doug Smith
fba6d66720
Merge pull request #886 from s1061123/update-libcni
...
Bump libcni to fetch the bugfix
2022-07-29 11:06:14 -04:00
Tomofumi Hayashi
7f7bb354c5
Bump libcni to fetch the bugfix
...
This change introduces https://github.com/containernetworking/cni/pull/904
to fix the issue.
2022-07-29 20:31:57 +09:00
Doug Smith
f4c0adf54c
Merge pull request #881 from chrisplo/detect-python3
...
Detect python3
2022-07-22 09:48:40 -04:00
Chris Plock
ac6757b9cc
Detect python3
...
fixes https://github.com/k8snetworkplumbingwg/multus-cni/issues/880
2022-07-15 15:13:27 -07:00
Doug Smith
70c970cd6e
Merge pull request #878 from tomkukral/print-kubeconfig
...
write output file for generated kubeconfig
2022-07-12 08:39:17 -04:00
Doug Smith
3deb079546
Merge pull request #876 from s1061123/dev/update-golang
...
Update golang version to 1.18.x
2022-07-11 16:11:44 -04:00
Doug Smith
9cb6fb57bf
Merge pull request #877 from s1061123/dev/refine-build
...
Refine build-go.sh and update 'version' output
2022-07-11 16:10:31 -04:00
Tomáš Kukrál
95adff55b0
write output file for generated kubeconfig
...
This change will make debugging easier in cases when non-default
location is used and user forgot to mount new directory.
2022-07-08 14:02:51 +02:00
Tomofumi Hayashi
99dd6678d5
Refine build-go.sh and update 'version' output
2022-07-07 01:44:13 +09:00
Tomofumi Hayashi
6f5fdf64c7
Update golang version to 1.18.x
2022-07-07 00:31:25 +09:00
Tomofumi Hayashi
9d67fbd520
Add 4.0 document
2022-06-27 22:12:23 +09:00
Doug Smith
ca8c9c5791
Merge pull request #864 from s1061123/default-route-pointer
...
Use *[]net.IP for 'default-route' network selection element.
2022-06-21 15:47:09 -04:00
Doug Smith
18a660ebc7
Merge pull request #867 from mmirecki/downwardapi
...
Fix missing device-info in networks-status annotation for chained plugins
2022-06-21 14:38:29 -04:00
mmirecki
358f09bfe2
Merge remote-tracking branch 'upstream/master' into downwardapi
2022-06-21 20:14:34 +02:00
Tomofumi Hayashi
107624ccff
Use *[]net.IP for 'default-route' network selection element.
2022-06-22 02:12:08 +09:00
Doug Smith
13eb83a01c
Merge pull request #868 from s1061123/fix/revive-err
...
Fix revive error
2022-06-21 11:26:44 -04:00
Tomofumi Hayashi
dc57189cf9
Fix revive error
2022-06-21 23:39:18 +09:00
Doug Smith
3cda380ad1
Merge pull request #865 from s1061123/fix/m40-revive-err
...
Fix revive's error
2022-06-21 10:24:15 -04:00
mmirecki
2bf8dae9a8
Fix missing device-info in networks-status annotation for chained plugins
2022-06-21 14:47:04 +02:00
Tomofumi Hayashi
2993671acd
Fix revive's error
2022-06-21 00:58:24 +09:00
Tomofumi Hayashi
a735987501
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-06-14 18:04:33 +09:00
Doug Smith
8bbb594dad
Merge pull request #862 from s1061123/fix/cmddel-nostatus-update
...
Skip status update in CmdDel if getPod is failed
2022-06-13 13:22:17 -04:00
Tomofumi Hayashi
fcc8e44f14
Skip status update in CmdDel if getPod is failed
...
This change skips to update pod's network-status annotation
when getPod is failed at the beginning of CmdDel. If getPod is
failed, K8s api gets stucked in many cases, hence pod update
might be failed in most cases.
2022-06-14 02:14:43 +09:00
Doug Smith
3572647e5b
Merge pull request #860 from s1061123/dev/add-ut
...
Add unit-test to increase test coverage
2022-06-10 10:39:20 -04:00
Doug Smith
2eb5d2f653
Merge pull request #857 from s1061123/dev/metrics
...
Add metrics support
2022-06-10 10:38:34 -04:00
疯狂的小企鹅
be56f8dc30
Fixed that in.Delegates may remain in the CmdDel ( #859 )
...
Co-authored-by: jinda.ljd <jinda.ljd@alibaba-inc.com>
2022-06-08 21:03:14 +09:00
Tomofumi Hayashi
580b72a5b2
Add unit-test to increase test coverage
2022-06-08 13:49:17 +09:00
Tomofumi Hayashi
a77d3cbedb
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-06-06 23:37:59 +09:00
Miguel Duarte Barroso
d2a4b832f2
config, logging: correct the logging parameters ( #856 )
...
The logging parameters were listing using uppercase, which is wrong.
According to multus configuration, they should be in camelCase - [0] and [1].
[0] - 779170a48e/pkg/types/types.go (L45)
[1] - 779170a48e/pkg/types/types.go (L46)
2022-06-06 22:33:05 +09:00
Tomofumi Hayashi
9f3e6b0da0
Add metrics support
...
This change introduces prometheus metric exporter support for
multus-daemon, thick plugin.
2022-06-04 00:45:37 +09:00
Tomofumi Hayashi
df903a757e
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-06-02 18:04:49 +09:00