├── .dockerignore ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Dockerfile ├── Makefile ├── PROJECT ├── README.md ├── api └── v1alpha1 │ ├── groupversion_info.go │ ├── podset_types.go │ ├── podset_webhook.go │ ├── webhook_suite_test.go │ └── zz_generated.deepcopy.go ├── bin └── controller-gen ├── config ├── certmanager │ ├── certificate.yaml │ ├── kustomization.yaml │ └── kustomizeconfig.yaml ├── crd │ ├── bases │ │ └── pixiu.pixiu.io_podsets.yaml │ ├── kustomization.yaml │ ├── kustomizeconfig.yaml │ └── patches │ │ ├── cainjection_in_podsets.yaml │ │ └── webhook_in_podsets.yaml ├── default │ ├── kustomization.yaml │ ├── manager_auth_proxy_patch.yaml │ ├── manager_config_patch.yaml │ ├── manager_webhook_patch.yaml │ └── webhookcainjection_patch.yaml ├── manager │ ├── controller_manager_config.yaml │ ├── kustomization.yaml │ └── manager.yaml ├── manifests │ └── kustomization.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 │ ├── podset_editor_role.yaml │ ├── podset_viewer_role.yaml │ ├── role.yaml │ ├── role_binding.yaml │ └── service_account.yaml ├── samples │ ├── kustomization.yaml │ └── pixiu_v1alpha1_podset.yaml ├── scorecard │ ├── bases │ │ └── config.yaml │ ├── kustomization.yaml │ └── patches │ │ ├── basic.config.yaml │ │ └── olm.config.yaml └── webhook │ ├── kustomization.yaml │ ├── kustomizeconfig.yaml │ ├── manifests.yaml │ └── service.yaml ├── controllers ├── controller_utils.go ├── pod.go ├── podset_controller.go └── suite_test.go ├── go.mod ├── go.sum ├── hack └── boilerplate.go.txt ├── main.go └── pkg ├── metrics └── metrics.go ├── types ├── constant.go └── types.go └── util └── util.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Files generated by JetBrains 2 | .idea/ 3 | .DS_Store 4 | .vscode/ 5 | 6 | bin/ 7 | 8 | cover.out 9 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/Dockerfile -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/Makefile -------------------------------------------------------------------------------- /PROJECT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/PROJECT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/README.md -------------------------------------------------------------------------------- /api/v1alpha1/groupversion_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/api/v1alpha1/groupversion_info.go -------------------------------------------------------------------------------- /api/v1alpha1/podset_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/api/v1alpha1/podset_types.go -------------------------------------------------------------------------------- /api/v1alpha1/podset_webhook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/api/v1alpha1/podset_webhook.go -------------------------------------------------------------------------------- /api/v1alpha1/webhook_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/api/v1alpha1/webhook_suite_test.go -------------------------------------------------------------------------------- /api/v1alpha1/zz_generated.deepcopy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/api/v1alpha1/zz_generated.deepcopy.go -------------------------------------------------------------------------------- /bin/controller-gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/bin/controller-gen -------------------------------------------------------------------------------- /config/certmanager/certificate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/certmanager/certificate.yaml -------------------------------------------------------------------------------- /config/certmanager/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/certmanager/kustomization.yaml -------------------------------------------------------------------------------- /config/certmanager/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/certmanager/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/crd/bases/pixiu.pixiu.io_podsets.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/crd/bases/pixiu.pixiu.io_podsets.yaml -------------------------------------------------------------------------------- /config/crd/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/crd/kustomization.yaml -------------------------------------------------------------------------------- /config/crd/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/crd/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/crd/patches/cainjection_in_podsets.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/crd/patches/cainjection_in_podsets.yaml -------------------------------------------------------------------------------- /config/crd/patches/webhook_in_podsets.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/crd/patches/webhook_in_podsets.yaml -------------------------------------------------------------------------------- /config/default/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/default/kustomization.yaml -------------------------------------------------------------------------------- /config/default/manager_auth_proxy_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/default/manager_auth_proxy_patch.yaml -------------------------------------------------------------------------------- /config/default/manager_config_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/default/manager_config_patch.yaml -------------------------------------------------------------------------------- /config/default/manager_webhook_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/default/manager_webhook_patch.yaml -------------------------------------------------------------------------------- /config/default/webhookcainjection_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/default/webhookcainjection_patch.yaml -------------------------------------------------------------------------------- /config/manager/controller_manager_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/manager/controller_manager_config.yaml -------------------------------------------------------------------------------- /config/manager/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/manager/kustomization.yaml -------------------------------------------------------------------------------- /config/manager/manager.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/manager/manager.yaml -------------------------------------------------------------------------------- /config/manifests/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/manifests/kustomization.yaml -------------------------------------------------------------------------------- /config/prometheus/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - monitor.yaml 3 | -------------------------------------------------------------------------------- /config/prometheus/monitor.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/prometheus/monitor.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_client_clusterrole.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/auth_proxy_client_clusterrole.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/auth_proxy_role.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/auth_proxy_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/auth_proxy_service.yaml -------------------------------------------------------------------------------- /config/rbac/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/kustomization.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/leader_election_role.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/leader_election_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/podset_editor_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/podset_editor_role.yaml -------------------------------------------------------------------------------- /config/rbac/podset_viewer_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/podset_viewer_role.yaml -------------------------------------------------------------------------------- /config/rbac/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/role.yaml -------------------------------------------------------------------------------- /config/rbac/role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/service_account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/rbac/service_account.yaml -------------------------------------------------------------------------------- /config/samples/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/samples/kustomization.yaml -------------------------------------------------------------------------------- /config/samples/pixiu_v1alpha1_podset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/samples/pixiu_v1alpha1_podset.yaml -------------------------------------------------------------------------------- /config/scorecard/bases/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/scorecard/bases/config.yaml -------------------------------------------------------------------------------- /config/scorecard/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/scorecard/kustomization.yaml -------------------------------------------------------------------------------- /config/scorecard/patches/basic.config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/scorecard/patches/basic.config.yaml -------------------------------------------------------------------------------- /config/scorecard/patches/olm.config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/scorecard/patches/olm.config.yaml -------------------------------------------------------------------------------- /config/webhook/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/webhook/kustomization.yaml -------------------------------------------------------------------------------- /config/webhook/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/webhook/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/webhook/manifests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/webhook/manifests.yaml -------------------------------------------------------------------------------- /config/webhook/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/config/webhook/service.yaml -------------------------------------------------------------------------------- /controllers/controller_utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/controllers/controller_utils.go -------------------------------------------------------------------------------- /controllers/pod.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/controllers/pod.go -------------------------------------------------------------------------------- /controllers/podset_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/controllers/podset_controller.go -------------------------------------------------------------------------------- /controllers/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/controllers/suite_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/go.sum -------------------------------------------------------------------------------- /hack/boilerplate.go.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/hack/boilerplate.go.txt -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/main.go -------------------------------------------------------------------------------- /pkg/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/pkg/metrics/metrics.go -------------------------------------------------------------------------------- /pkg/types/constant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/pkg/types/constant.go -------------------------------------------------------------------------------- /pkg/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/pkg/types/types.go -------------------------------------------------------------------------------- /pkg/util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caoyingjunz/podset-operator/HEAD/pkg/util/util.go --------------------------------------------------------------------------------