A service controller integrated with the watch 57/3657/2
authorYao Le <le.yao@intel.com>
Tue, 4 Aug 2020 03:16:11 +0000 (03:16 +0000)
committerYao Le <le.yao@intel.com>
Wed, 5 Aug 2020 01:54:54 +0000 (01:54 +0000)
commitfe040274caa977996dd447956e6d352013add031
tree53a60823bb5eb81c0ad5f775a8f922d87fab78d2
parent78281ddc35c1caf1fb79b58c8e321257586a2175
A service controller integrated with the watch

A watch to monitor the changes of the service cluster IP and restart the
firewall in CNF.
A controller to hold the watch function and monitor the potential CRs.

Signed-off-by: Yao Le <le.yao@intel.com>
Change-Id: I46e08e0403debd03e7f6bf7bf16507a0760382b7
19 files changed:
platform/crd-ctrlr/examples/cnf-deployment.yaml
platform/crd-ctrlr/examples/sdewan-controller.yaml
platform/crd-ctrlr/src/PROJECT
platform/crd-ctrlr/src/api/v1alpha1/cnfservice_types.go [new file with mode: 0644]
platform/crd-ctrlr/src/api/v1alpha1/zz_generated.deepcopy.go
platform/crd-ctrlr/src/config/crd/bases/batch.sdewan.akraino.org_cnfservices.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/kustomization.yaml
platform/crd-ctrlr/src/config/crd/patches/cainjection_in_cnfservices.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/patches/webhook_in_cnfservices.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/cnfservice_editor_role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/cnfservice_viewer_role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/role.yaml
platform/crd-ctrlr/src/config/samples/batch_v1alpha1_cnfservice.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/controllers/base_controller.go
platform/crd-ctrlr/src/controllers/cnfservice_controller.go [new file with mode: 0644]
platform/crd-ctrlr/src/controllers/suite_test.go
platform/crd-ctrlr/src/go.mod
platform/crd-ctrlr/src/go.sum
platform/crd-ctrlr/src/main.go