Use controller runtime and operator sdk 23/68323/4
authorRitu Sood <ritu.sood@intel.com>
Wed, 7 Aug 2019 02:35:42 +0000 (19:35 -0700)
committerRitu Sood <ritu.sood@intel.com>
Thu, 15 Aug 2019 17:03:47 +0000 (10:03 -0700)
commit8295a28f6d6e14f5adb62138271de393015061e9
treed11b1e799de55e89d08bc810180d99ce65e6f21e
parentaa41b49246d84b605a76d169f0c861ba0691a4fb
Use controller runtime and operator sdk

Changing the framework to use controller
runtime and operator sdk. This allows to
add CRD controllers for Network, Provider
Network etc in the same operator. Binary
renamed to nfn-operator (Network funtion
networking).

Change-Id: Ic25a3c3f5f1418fc0614f3aede48b41d9c1156cd
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
22 files changed:
.gitignore
Makefile
build/Dockerfile [new file with mode: 0644]
build/bin/entrypoint [new file with mode: 0755]
build/bin/user_setup [new file with mode: 0755]
cmd/nfn-operator/nfn-operator.go [new file with mode: 0644]
cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go
cmd/ovn4nfvk8s/ovn4nfvk8s.go [deleted file]
deploy/operator.yaml [new file with mode: 0644]
deploy/operator_roles.yaml [new file with mode: 0644]
go.mod
go.sum
internal/pkg/factory/factory.go [deleted file]
internal/pkg/factory/factory_test.go [deleted file]
internal/pkg/kube/kube.go
internal/pkg/ovn/common.go
internal/pkg/ovn/ovn.go
internal/pkg/ovn/ovn_test.go
internal/pkg/ovn/utils.go
pkg/controller/add_pod.go [new file with mode: 0644]
pkg/controller/controller.go [new file with mode: 0644]
pkg/controller/pod/pod_controller.go [new file with mode: 0644]