overlays: parametrized network attachment definitions number
NetAttachDefs resources from multus now are created with the overlay, using the specified number inside the spec. By default it's still defined to 10 interfaces
Showing
- api/v1/overlay_types.go 4 additions, 3 deletionsapi/v1/overlay_types.go
- config/samples/l2sm_v1_overlay.yaml 0 additions, 8 deletionsconfig/samples/l2sm_v1_overlay.yaml
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 2 additions, 0 deletionsgo.sum
- internal/controller/overlay_controller.go 85 additions, 31 deletionsinternal/controller/overlay_controller.go
- internal/controller/pod_utils.go 23 additions, 0 deletionsinternal/controller/pod_utils.go
... | @@ -5,6 +5,7 @@ go 1.21.7 | ... | @@ -5,6 +5,7 @@ go 1.21.7 |
toolchain go1.22.5 | toolchain go1.22.5 | ||
require ( | require ( | ||
github.com/Networks-it-uc3m/l2sm-switch v1.0.2 | |||
github.com/go-logr/logr v1.4.1 | github.com/go-logr/logr v1.4.1 | ||
github.com/onsi/ginkgo/v2 v2.14.0 | github.com/onsi/ginkgo/v2 v2.14.0 | ||
github.com/onsi/gomega v1.30.0 | github.com/onsi/gomega v1.30.0 | ||
... | @@ -12,7 +13,6 @@ require ( | ... | @@ -12,7 +13,6 @@ require ( |
k8s.io/api v0.29.0 | k8s.io/api v0.29.0 | ||
k8s.io/apimachinery v0.29.0 | k8s.io/apimachinery v0.29.0 | ||
k8s.io/client-go v0.29.0 | k8s.io/client-go v0.29.0 | ||
github.com/Networks-it-uc3m/l2sm-switch v1.0.0 | |||
sigs.k8s.io/controller-runtime v0.17.0 | sigs.k8s.io/controller-runtime v0.17.0 | ||
) | ) | ||
... | ... |
Please register or sign in to comment