├── .dockerignore ├── .github └── workflows │ ├── ci.yaml │ └── codeql-analysis.yml ├── .gitignore ├── .golangci.yaml ├── Dockerfile ├── LICENSE ├── Makefile ├── PROJECT ├── README.md ├── apis ├── data │ └── v1alpha1 │ │ ├── groupversion_info.go │ │ ├── snoopydataendpoint_types.go │ │ └── zz_generated.deepcopy.go └── job │ └── v1alpha1 │ ├── groupversion_info.go │ ├── snoopyjob_types.go │ └── zz_generated.deepcopy.go ├── config ├── crd │ ├── bases │ │ ├── data.fennecproject.io_snoopydataendpoints.yaml │ │ └── job.fennecproject.io_snoopyjobs.yaml │ ├── kustomization.yaml │ ├── kustomizeconfig.yaml │ └── patches │ │ ├── cainjection_in_snoopydataendpoints.yaml │ │ ├── cainjection_in_snoopyjobs.yaml │ │ ├── webhook_in_snoopydataendpoints.yaml │ │ └── webhook_in_snoopyjobs.yaml ├── default │ ├── kustomization.yaml │ ├── manager_auth_proxy_patch.yaml │ └── manager_config_patch.yaml ├── install │ └── snoopy-operator.yaml ├── manager │ ├── controller_manager_config.yaml │ ├── kustomization.yaml │ └── manager.yaml ├── manifests │ └── kustomization.yaml ├── namespace │ ├── kustomization.yaml │ └── namespace.yaml ├── prometheus │ ├── kustomization.yaml │ └── monitor.yaml ├── rbac │ ├── auth_proxy_client_clusterrole.yaml │ ├── auth_proxy_role.yaml │ ├── auth_proxy_role_binding.yaml │ ├── auth_proxy_service.yaml │ ├── kustomization.yaml │ ├── leader_election_role.yaml │ ├── leader_election_role_binding.yaml │ ├── role.yaml │ ├── role_binding.yaml │ ├── role_scc.yaml │ ├── service_account.yaml │ ├── snoopydataendpoint_editor_role.yaml │ ├── snoopydataendpoint_viewer_role.yaml │ ├── snoopyjob_editor_role.yaml │ └── snoopyjob_viewer_role.yaml ├── samples │ ├── data_v1alpha1_snoopydataendpoint.yaml │ ├── job_v1alpha1_snoopyjob_packet_capture.yaml │ ├── kustomization.yaml │ └── sample-deployment-ping-traffic.yaml └── scorecard │ ├── bases │ └── config.yaml │ ├── kustomization.yaml │ └── patches │ ├── basic.config.yaml │ └── olm.config.yaml ├── controllers ├── data │ ├── constants.go │ ├── deployment.go │ ├── reconcile.go │ ├── service.go │ ├── snoopydataendpoint_controller.go │ └── suite_test.go └── job │ ├── constants.go │ ├── jobs.go │ ├── reconcilers.go │ ├── snoopyjob_controller.go │ └── suite_test.go ├── docs └── img │ ├── SnoopyCRs.png │ ├── snoopy-operator.png │ └── wireshark-sample.png ├── endpoint ├── Makefile ├── podtest ├── proto │ ├── snoopydataendpoint.pb.go │ ├── snoopydataendpoint.proto │ └── snoopydataendpoint_grpc.pb.go └── server │ ├── Dockerfile │ ├── podtest │ ├── server │ └── server.go ├── go.mod ├── go.sum ├── hack ├── boilerplate.go.txt └── update-operator-tools.sh ├── header.txt └── main.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/Makefile -------------------------------------------------------------------------------- /PROJECT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/PROJECT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/README.md -------------------------------------------------------------------------------- /apis/data/v1alpha1/groupversion_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/apis/data/v1alpha1/groupversion_info.go -------------------------------------------------------------------------------- /apis/data/v1alpha1/snoopydataendpoint_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/apis/data/v1alpha1/snoopydataendpoint_types.go -------------------------------------------------------------------------------- /apis/data/v1alpha1/zz_generated.deepcopy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/apis/data/v1alpha1/zz_generated.deepcopy.go -------------------------------------------------------------------------------- /apis/job/v1alpha1/groupversion_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/apis/job/v1alpha1/groupversion_info.go -------------------------------------------------------------------------------- /apis/job/v1alpha1/snoopyjob_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/apis/job/v1alpha1/snoopyjob_types.go -------------------------------------------------------------------------------- /apis/job/v1alpha1/zz_generated.deepcopy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/apis/job/v1alpha1/zz_generated.deepcopy.go -------------------------------------------------------------------------------- /config/crd/bases/data.fennecproject.io_snoopydataendpoints.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/bases/data.fennecproject.io_snoopydataendpoints.yaml -------------------------------------------------------------------------------- /config/crd/bases/job.fennecproject.io_snoopyjobs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/bases/job.fennecproject.io_snoopyjobs.yaml -------------------------------------------------------------------------------- /config/crd/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/kustomization.yaml -------------------------------------------------------------------------------- /config/crd/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/crd/patches/cainjection_in_snoopydataendpoints.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/patches/cainjection_in_snoopydataendpoints.yaml -------------------------------------------------------------------------------- /config/crd/patches/cainjection_in_snoopyjobs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/patches/cainjection_in_snoopyjobs.yaml -------------------------------------------------------------------------------- /config/crd/patches/webhook_in_snoopydataendpoints.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/patches/webhook_in_snoopydataendpoints.yaml -------------------------------------------------------------------------------- /config/crd/patches/webhook_in_snoopyjobs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/crd/patches/webhook_in_snoopyjobs.yaml -------------------------------------------------------------------------------- /config/default/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/default/kustomization.yaml -------------------------------------------------------------------------------- /config/default/manager_auth_proxy_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/default/manager_auth_proxy_patch.yaml -------------------------------------------------------------------------------- /config/default/manager_config_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/default/manager_config_patch.yaml -------------------------------------------------------------------------------- /config/install/snoopy-operator.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/install/snoopy-operator.yaml -------------------------------------------------------------------------------- /config/manager/controller_manager_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/manager/controller_manager_config.yaml -------------------------------------------------------------------------------- /config/manager/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/manager/kustomization.yaml -------------------------------------------------------------------------------- /config/manager/manager.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/manager/manager.yaml -------------------------------------------------------------------------------- /config/manifests/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/manifests/kustomization.yaml -------------------------------------------------------------------------------- /config/namespace/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - namespace.yaml 3 | -------------------------------------------------------------------------------- /config/namespace/namespace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/namespace/namespace.yaml -------------------------------------------------------------------------------- /config/prometheus/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - monitor.yaml 3 | -------------------------------------------------------------------------------- /config/prometheus/monitor.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/prometheus/monitor.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_client_clusterrole.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/auth_proxy_client_clusterrole.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/auth_proxy_role.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/auth_proxy_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/auth_proxy_service.yaml -------------------------------------------------------------------------------- /config/rbac/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/kustomization.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/leader_election_role.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/leader_election_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/role.yaml -------------------------------------------------------------------------------- /config/rbac/role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/role_scc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/role_scc.yaml -------------------------------------------------------------------------------- /config/rbac/service_account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/service_account.yaml -------------------------------------------------------------------------------- /config/rbac/snoopydataendpoint_editor_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/snoopydataendpoint_editor_role.yaml -------------------------------------------------------------------------------- /config/rbac/snoopydataendpoint_viewer_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/snoopydataendpoint_viewer_role.yaml -------------------------------------------------------------------------------- /config/rbac/snoopyjob_editor_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/snoopyjob_editor_role.yaml -------------------------------------------------------------------------------- /config/rbac/snoopyjob_viewer_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/rbac/snoopyjob_viewer_role.yaml -------------------------------------------------------------------------------- /config/samples/data_v1alpha1_snoopydataendpoint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/samples/data_v1alpha1_snoopydataendpoint.yaml -------------------------------------------------------------------------------- /config/samples/job_v1alpha1_snoopyjob_packet_capture.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/samples/job_v1alpha1_snoopyjob_packet_capture.yaml -------------------------------------------------------------------------------- /config/samples/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/samples/kustomization.yaml -------------------------------------------------------------------------------- /config/samples/sample-deployment-ping-traffic.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/samples/sample-deployment-ping-traffic.yaml -------------------------------------------------------------------------------- /config/scorecard/bases/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/scorecard/bases/config.yaml -------------------------------------------------------------------------------- /config/scorecard/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/scorecard/kustomization.yaml -------------------------------------------------------------------------------- /config/scorecard/patches/basic.config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/scorecard/patches/basic.config.yaml -------------------------------------------------------------------------------- /config/scorecard/patches/olm.config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/config/scorecard/patches/olm.config.yaml -------------------------------------------------------------------------------- /controllers/data/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/data/constants.go -------------------------------------------------------------------------------- /controllers/data/deployment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/data/deployment.go -------------------------------------------------------------------------------- /controllers/data/reconcile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/data/reconcile.go -------------------------------------------------------------------------------- /controllers/data/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/data/service.go -------------------------------------------------------------------------------- /controllers/data/snoopydataendpoint_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/data/snoopydataendpoint_controller.go -------------------------------------------------------------------------------- /controllers/data/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/data/suite_test.go -------------------------------------------------------------------------------- /controllers/job/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/job/constants.go -------------------------------------------------------------------------------- /controllers/job/jobs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/job/jobs.go -------------------------------------------------------------------------------- /controllers/job/reconcilers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/job/reconcilers.go -------------------------------------------------------------------------------- /controllers/job/snoopyjob_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/job/snoopyjob_controller.go -------------------------------------------------------------------------------- /controllers/job/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/controllers/job/suite_test.go -------------------------------------------------------------------------------- /docs/img/SnoopyCRs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/docs/img/SnoopyCRs.png -------------------------------------------------------------------------------- /docs/img/snoopy-operator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/docs/img/snoopy-operator.png -------------------------------------------------------------------------------- /docs/img/wireshark-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/docs/img/wireshark-sample.png -------------------------------------------------------------------------------- /endpoint/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/Makefile -------------------------------------------------------------------------------- /endpoint/podtest: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /endpoint/proto/snoopydataendpoint.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/proto/snoopydataendpoint.pb.go -------------------------------------------------------------------------------- /endpoint/proto/snoopydataendpoint.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/proto/snoopydataendpoint.proto -------------------------------------------------------------------------------- /endpoint/proto/snoopydataendpoint_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/proto/snoopydataendpoint_grpc.pb.go -------------------------------------------------------------------------------- /endpoint/server/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/server/Dockerfile -------------------------------------------------------------------------------- /endpoint/server/podtest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/server/podtest -------------------------------------------------------------------------------- /endpoint/server/server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/server/server -------------------------------------------------------------------------------- /endpoint/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/endpoint/server/server.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/go.sum -------------------------------------------------------------------------------- /hack/boilerplate.go.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/hack/boilerplate.go.txt -------------------------------------------------------------------------------- /hack/update-operator-tools.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/hack/update-operator-tools.sh -------------------------------------------------------------------------------- /header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/header.txt -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fennec-project/snoopy-operator/HEAD/main.go --------------------------------------------------------------------------------