├── .gitignore ├── Dockerfile ├── Makefile ├── README.md ├── config ├── crds │ └── exampleoperator_v1alpha1_immortalcontainer.yaml ├── default │ └── default.yaml ├── example-use.yaml ├── namespace.yaml └── rbac │ ├── rbac_role.yaml │ ├── rbac_role_binding.yaml │ └── service_account.yaml ├── docs ├── components_diagram.png └── components_diagram.xml ├── requirements.txt └── src ├── controller.py ├── defs.py ├── main.py └── threadedwatch.py /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | venv 3 | .vscode 4 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/Dockerfile -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/README.md -------------------------------------------------------------------------------- /config/crds/exampleoperator_v1alpha1_immortalcontainer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/crds/exampleoperator_v1alpha1_immortalcontainer.yaml -------------------------------------------------------------------------------- /config/default/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/default/default.yaml -------------------------------------------------------------------------------- /config/example-use.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/example-use.yaml -------------------------------------------------------------------------------- /config/namespace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/namespace.yaml -------------------------------------------------------------------------------- /config/rbac/rbac_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/rbac/rbac_role.yaml -------------------------------------------------------------------------------- /config/rbac/rbac_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/rbac/rbac_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/service_account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/config/rbac/service_account.yaml -------------------------------------------------------------------------------- /docs/components_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/docs/components_diagram.png -------------------------------------------------------------------------------- /docs/components_diagram.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/docs/components_diagram.xml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | kubernetes==8.0.1 2 | -------------------------------------------------------------------------------- /src/controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/src/controller.py -------------------------------------------------------------------------------- /src/defs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/src/defs.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/src/main.py -------------------------------------------------------------------------------- /src/threadedwatch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flugel-it/k8s-python-operator/HEAD/src/threadedwatch.py --------------------------------------------------------------------------------