├── .github ├── ISSUE_TEMPLATE │ ├── bug.md │ ├── config.yml │ └── feature.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yaml ├── release.yml └── workflows │ ├── build.yaml │ ├── checks.yaml │ ├── docs.yaml │ ├── lint.yaml │ ├── publish-dev.yaml │ ├── publish-release.yaml │ └── tests.yaml ├── .gitignore ├── .gitmodules ├── .golangci.yaml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── cmd ├── addon-operator │ └── main.go └── post-renderer │ └── main.go ├── docs ├── book.toml └── src │ ├── HOOKS.md │ ├── LIFECYCLE-STEPS.md │ ├── LIFECYCLE.md │ ├── MODULES.md │ ├── OVERVIEW.md │ ├── README.md │ ├── RUNNING.md │ ├── SUMMARY.md │ ├── VALUES.md │ ├── image │ ├── global_values_flow.png │ ├── logo-addon-operator-small.png │ ├── module_values_flow.png │ ├── readme-1.gif │ ├── readme-2.gif │ ├── readme-3.gif │ ├── readme-4.gif │ ├── readme-5.gif │ └── readme-6.gif │ └── metrics │ ├── METRICS_FROM_HOOKS.md │ ├── ROOT.md │ └── SELF_METRICS.md ├── examples ├── 001-startup-global │ ├── Dockerfile │ ├── README.md │ ├── addon-operator-cm.yaml │ ├── addon-operator-pod.yaml │ ├── addon-operator-rbac.yaml │ ├── global-hooks │ │ └── hook.sh │ └── modules │ │ └── README.md ├── 002-startup-global-high-availability │ ├── Dockerfile │ ├── README.md │ ├── addon-operator-cm.yaml │ ├── addon-operator-deployment.yaml │ ├── addon-operator-rbac.yaml │ ├── global-hooks │ │ └── hook.sh │ └── modules │ │ └── README.md ├── 101-module-sysctl-tuner │ ├── Dockerfile │ ├── README.md │ ├── addon-operator-cm.yaml │ ├── addon-operator-pod.yaml │ ├── addon-operator-rbac.yaml │ └── modules │ │ └── 001-sysctl-tuner │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── hooks │ │ └── module-hooks.sh │ │ ├── templates │ │ └── daemon-set.yaml │ │ └── values.yaml ├── 201-sysctl-tuner-values │ ├── Dockerfile │ ├── README.md │ ├── addon-operator-cm.yaml │ ├── addon-operator-deploy.yaml │ ├── addon-operator-rbac.yaml │ └── modules │ │ └── 001-sysctl-tuner │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── hooks │ │ └── module-hooks.sh │ │ ├── templates │ │ └── daemon-set.yaml │ │ └── values.yaml ├── 202-module-symlinks │ ├── Dockerfile │ ├── README.md │ ├── deploy │ │ ├── cm.yaml │ │ ├── deployment.yaml │ │ └── rbac.yaml │ ├── global-hooks │ │ └── .gitkeep │ ├── module_dir_1 │ │ └── 001-backend │ │ │ ├── Chart.yaml │ │ │ ├── hooks │ │ │ └── startup │ │ │ ├── templates │ │ │ └── backend.yaml │ │ │ └── values.yaml │ ├── module_dir_2 │ │ └── 002-frontend │ └── module_storage │ │ └── 002-frontend │ │ ├── Chart.yaml │ │ ├── hooks │ │ └── startup │ │ ├── templates │ │ └── frontend.yaml │ │ └── values.yaml └── 700-go-hook │ ├── README.md │ ├── global-hooks │ └── global-go-hook.go │ ├── modules │ └── 001-module-go-hooks │ │ └── hooks │ │ └── go_hooks.go │ └── register_go_hooks.go.tpl ├── go.mod ├── go.sum ├── pkg ├── addon-operator │ ├── admission_http_server.go │ ├── bootstrap.go │ ├── converge │ │ └── converge.go │ ├── debug_server.go │ ├── diff │ │ └── diff.go │ ├── ensure_crds.go │ ├── handler_manager_events.go │ ├── handler_module_manager.go │ ├── http_server.go │ ├── kube_client.go │ ├── operator.go │ ├── operator_test.go │ ├── queue.go │ ├── queue_test.go │ └── testdata │ │ ├── converge__main_queue_only │ │ ├── config_map.yaml │ │ ├── global-hooks │ │ │ ├── hook01_startup_20_kube.sh │ │ │ ├── hook02_startup_1_schedule.sh │ │ │ └── hook03_startup_10_kube_schedule.sh │ │ └── modules │ │ │ ├── 000-module-alpha │ │ │ ├── Chart.yaml │ │ │ └── hooks │ │ │ │ ├── hook01_startup_20_kube.sh │ │ │ │ └── hook02_startup_1_schedule.sh │ │ │ └── 001-module-beta │ │ │ ├── Chart.yaml │ │ │ └── hooks │ │ │ ├── hook01_startup_20_kube.sh │ │ │ └── hook02_after_delete_helm.sh │ │ ├── log_task__wait_for_synchronization │ │ ├── config_map.yaml │ │ ├── global-hooks │ │ │ └── hook01_startup_20_kube.sh │ │ └── modules │ │ │ └── 000-module-alpha │ │ │ ├── Chart.yaml │ │ │ └── hooks │ │ │ └── hook01_startup_20_kube.sh │ │ └── startup_tasks │ │ └── global-hooks │ │ ├── hook01_startup_20_kube.sh │ │ ├── hook02_startup_1_schedule.sh │ │ └── hook03_startup_10_kube_schedule.sh ├── app │ ├── app.go │ └── debug-cmd.go ├── helm │ ├── client │ │ └── client.go │ ├── helm.go │ ├── helm3lib │ │ ├── helm3lib.go │ │ ├── helm3lib_test.go │ │ └── testdata │ │ │ └── chart │ │ │ ├── Chart.yaml │ │ │ └── templates │ │ │ └── 001-resources.yaml │ ├── helm_test.go │ ├── nelm │ │ ├── logger.go │ │ └── nelm.go │ ├── post_renderer │ │ ├── post_renderer.go │ │ └── post_renderer_test.go │ ├── test │ │ └── mock │ │ │ └── mock.go │ ├── version_detect.go │ └── version_detect_test.go ├── helm_resources_manager │ ├── helm_resources_manager.go │ ├── resources_monitor.go │ ├── test │ │ └── mock │ │ │ └── mock.go │ └── types │ │ └── types.go ├── hook │ └── types │ │ └── bindings.go ├── kube_config_manager │ ├── backend │ │ ├── backend.go │ │ └── configmap │ │ │ ├── configmap.go │ │ │ └── configmap_test.go │ ├── checksums.go │ ├── checksums_test.go │ ├── config │ │ ├── config.go │ │ └── event.go │ ├── kube_config_manager.go │ └── kube_config_manager_test.go ├── labels.go ├── metrics │ └── metrics.go ├── module_manager │ ├── environment_manager │ │ ├── evironment_manager.go │ │ ├── evironment_manager_test.go │ │ ├── mount.go │ │ └── mount_linux.go │ ├── go_hook │ │ ├── filter_result.go │ │ ├── filter_result_test.go │ │ ├── go_hook.go │ │ ├── logger.go │ │ └── metrics │ │ │ └── collector.go │ ├── loader │ │ ├── fs │ │ │ ├── fs.go │ │ │ ├── fs_test.go │ │ │ └── testdata │ │ │ │ └── module_loader │ │ │ │ ├── dir1 │ │ │ │ ├── 001-module-one │ │ │ │ ├── 002-module-two │ │ │ │ └── values.yaml │ │ │ │ ├── dir2 │ │ │ │ ├── 012-mod-two │ │ │ │ ├── 100-mod-one │ │ │ │ └── values.yaml │ │ │ │ ├── dir3 │ │ │ │ └── values.yaml │ │ │ │ └── modules │ │ │ │ ├── 001-module-one │ │ │ │ └── .gitkeep │ │ │ │ ├── 002-module-two │ │ │ │ └── .gitkeep │ │ │ │ └── 003-module-three │ │ │ │ └── .gitkeep │ │ └── loader.go │ ├── models │ │ ├── hooks │ │ │ ├── dependency.go │ │ │ ├── global_hook.go │ │ │ ├── global_hook_config.go │ │ │ ├── global_hook_test.go │ │ │ ├── kind │ │ │ │ ├── batch_hook.go │ │ │ │ ├── batch_hook_test.go │ │ │ │ ├── config.go │ │ │ │ ├── gohook.go │ │ │ │ ├── gohook_test.go │ │ │ │ ├── kind.go │ │ │ │ ├── shellhook.go │ │ │ │ └── shellhook_test.go │ │ │ ├── module_hook.go │ │ │ └── module_hook_config.go │ │ ├── modules │ │ │ ├── basic.go │ │ │ ├── basic_test.go │ │ │ ├── events │ │ │ │ └── events.go │ │ │ ├── global.go │ │ │ ├── global_test.go │ │ │ ├── helm.go │ │ │ ├── hook_storage.go │ │ │ ├── module_options.go │ │ │ ├── synchronization_state.go │ │ │ ├── testdata │ │ │ │ └── global │ │ │ │ │ └── openapi │ │ │ │ │ ├── config-values.yaml │ │ │ │ │ └── values.yaml │ │ │ ├── values_defaulting_transformers.go │ │ │ ├── values_layered.go │ │ │ ├── values_layered_test.go │ │ │ ├── values_storage.go │ │ │ └── values_storage_test.go │ │ └── moduleset │ │ │ ├── moduleset.go │ │ │ └── moduleset_test.go │ ├── module_manager.go │ ├── module_manager_hooks.go │ ├── module_manager_test.go │ ├── scheduler │ │ ├── extenders │ │ │ ├── dynamically_enabled │ │ │ │ ├── dynamic.go │ │ │ │ └── dynamic_test.go │ │ │ ├── error │ │ │ │ └── permanent.go │ │ │ ├── extenders.go │ │ │ ├── kube_config │ │ │ │ └── kube_config.go │ │ │ ├── mock │ │ │ │ └── extenders_mock.go │ │ │ ├── script_enabled │ │ │ │ ├── script.go │ │ │ │ ├── script_test.go │ │ │ │ └── testdata │ │ │ │ │ ├── 015-admission-policy-engine │ │ │ │ │ └── enabled │ │ │ │ │ ├── 020-node-local-dns │ │ │ │ │ └── enabled │ │ │ │ │ ├── 031-foo-bar │ │ │ │ │ └── enabled │ │ │ │ │ ├── 045-chrony │ │ │ │ │ └── enabled │ │ │ │ │ └── 402-ingress-nginx │ │ │ │ │ └── enabled │ │ │ └── static │ │ │ │ ├── static.go │ │ │ │ └── static_test.go │ │ ├── node │ │ │ ├── mock │ │ │ │ └── node_mock.go │ │ │ ├── node.go │ │ │ └── node_test.go │ │ ├── scheduler.go │ │ ├── scheduler_test.go │ │ └── testdata │ │ │ ├── 015-admission-policy-engine │ │ │ └── enabled │ │ │ ├── 042-kube-dns │ │ │ └── enabled │ │ │ ├── 133-foo-bar │ │ │ └── enabled │ │ │ ├── 20-cert-manager │ │ │ └── enabled │ │ │ ├── 340-monitoring-applications │ │ │ └── enabled │ │ │ ├── 340-prometheus │ │ │ └── enabled │ │ │ ├── 402-ingress-nginx │ │ │ └── enabled │ │ │ ├── 450-flant-integration │ │ │ └── enabled │ │ │ └── 909-test-echo │ │ │ └── enabled │ └── testdata │ │ ├── get__global_hook │ │ ├── global-hooks │ │ │ ├── 000-all-bindings │ │ │ │ └── hook │ │ │ └── 100-nested-hook │ │ │ │ └── sub │ │ │ │ └── sub │ │ │ │ └── hook │ │ └── modules │ │ │ └── .gitkeep │ │ ├── get__global_hooks_in_order │ │ ├── global-hooks │ │ │ └── 000-before-all-binding-hooks │ │ │ │ ├── a │ │ │ │ ├── b │ │ │ │ └── c │ │ └── modules │ │ │ └── .gitkeep │ │ ├── get__module │ │ └── modules │ │ │ └── 000-module │ │ │ └── .gitkeep │ │ ├── get__module_hook │ │ └── modules │ │ │ ├── 000-all-bindings │ │ │ └── hooks │ │ │ │ └── all-bindings │ │ │ └── 100-nested-hooks │ │ │ └── hooks │ │ │ └── sub │ │ │ └── sub │ │ │ └── nested-before-helm │ │ ├── get__module_hooks_in_order │ │ ├── config_map.yaml │ │ └── modules │ │ │ └── 107-after-helm-binding-hooks │ │ │ ├── hooks │ │ │ ├── a │ │ │ ├── b │ │ │ └── c │ │ │ └── values.yaml │ │ ├── load_and_validate_usage │ │ ├── global │ │ │ ├── hooks │ │ │ │ └── hook │ │ │ └── openapi │ │ │ │ └── config-values.yaml │ │ └── modules │ │ │ └── 000-test-module │ │ │ ├── hooks │ │ │ └── hook │ │ │ └── openapi │ │ │ └── config-values.yaml │ │ ├── load_values__common_and_module_and_kube │ │ ├── config_map.yaml │ │ └── modules │ │ │ ├── 000-with-values-1 │ │ │ └── values.yaml │ │ │ ├── 001-with-values-2 │ │ │ └── values.yaml │ │ │ ├── 002-without-values │ │ │ └── .gitkeep │ │ │ ├── 003-with-kube-values │ │ │ └── .gitkeep │ │ │ └── values.yaml │ │ ├── load_values__common_static_empty │ │ └── modules │ │ │ ├── .gitkeep │ │ │ └── 000-module │ │ │ └── .gitkeep │ │ ├── load_values__common_static_global_only │ │ └── modules │ │ │ └── values.yaml │ │ ├── load_values__module_apply_defaults │ │ ├── config_map.yaml │ │ ├── global-hooks │ │ │ └── openapi │ │ │ │ ├── config-values.yaml │ │ │ │ └── values.yaml │ │ └── modules │ │ │ ├── 000-module-one │ │ │ └── openapi │ │ │ │ ├── config-values.yaml │ │ │ │ └── values.yaml │ │ │ └── values.yaml │ │ ├── load_values__module_static_only │ │ └── modules │ │ │ ├── 000-with-values-1 │ │ │ └── values.yaml │ │ │ └── 001-with-values-2 │ │ │ └── values.yaml │ │ ├── loader │ │ └── values.yaml │ │ ├── modules_state__detect_cm_changes │ │ ├── config_map.yaml │ │ └── modules │ │ │ ├── 001-module-one │ │ │ └── .gitkeep │ │ │ ├── 003-module-three │ │ │ └── .gitkeep │ │ │ └── values.yaml │ │ ├── modules_state__no_cm__module_names_order │ │ └── modules │ │ │ ├── 000-module-c │ │ │ ├── .gitkeep │ │ │ └── values.yaml │ │ │ ├── 100-module-a │ │ │ └── .gitkeep │ │ │ ├── 200-module-b │ │ │ ├── .gitkeep │ │ │ └── values.yaml │ │ │ └── 300-module-disabled │ │ │ └── values.yaml │ │ ├── modules_state__no_cm__simple │ │ └── modules │ │ │ ├── 001-module-1 │ │ │ └── .gitkeep │ │ │ ├── 003-module-3 │ │ │ └── .gitkeep │ │ │ ├── 004-module-4 │ │ │ └── .gitkeep │ │ │ ├── 007-module-7 │ │ │ └── .gitkeep │ │ │ ├── 008-module-8 │ │ │ └── .gitkeep │ │ │ ├── 009-module-9 │ │ │ └── .gitkeep │ │ │ └── values.yaml │ │ ├── modules_state__no_cm__with_enabled_scripts │ │ └── modules │ │ │ ├── 001-alpha │ │ │ └── enabled │ │ │ ├── 002-beta │ │ │ └── enabled │ │ │ ├── 003-gamma │ │ │ └── enabled │ │ │ ├── 004-delta │ │ │ └── enabled │ │ │ ├── 005-epsilon │ │ │ └── enabled │ │ │ ├── 006-zeta │ │ │ └── enabled │ │ │ ├── 007-eta │ │ │ └── enabled │ │ │ └── values.yaml │ │ ├── test_delete_module │ │ └── modules │ │ │ └── 000-module │ │ │ ├── .helmignore │ │ │ ├── Chart.yaml │ │ │ ├── hooks │ │ │ ├── hook-1 │ │ │ └── hook-2 │ │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ ├── ingress.yaml │ │ │ └── service.yaml │ │ │ └── values.yaml │ │ ├── test_run_global_hook │ │ ├── global-hooks │ │ │ ├── 000-update-kube-config │ │ │ │ └── merge_and_patch_values │ │ │ └── 100-update-dynamic │ │ │ │ └── merge_and_patch_values │ │ └── modules │ │ │ └── .gitkeep │ │ ├── test_run_module │ │ └── modules │ │ │ └── 000-module │ │ │ ├── .helmignore │ │ │ ├── Chart.yaml │ │ │ ├── hooks │ │ │ ├── hook-1 │ │ │ ├── hook-2 │ │ │ ├── hook-3 │ │ │ └── hook-4 │ │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ ├── ingress.yaml │ │ │ └── service.yaml │ │ │ └── values.yaml │ │ └── test_run_module_hook │ │ └── modules │ │ ├── 000-update-kube-module-config │ │ └── hooks │ │ │ └── merge_and_patch_values │ │ └── 100-update-module-dynamic │ │ └── hooks │ │ └── merge_and_patch_values ├── task │ ├── discover-crds │ │ └── service.go │ ├── functional │ │ ├── scheduler.go │ │ └── scheduler_test.go │ ├── helpers │ │ └── helpers.go │ ├── hook_metadata.go │ ├── parallel │ │ └── parallel.go │ ├── queue │ │ ├── queue.go │ │ └── utils.go │ ├── service │ │ ├── converge.go │ │ ├── logs.go │ │ ├── metric.go │ │ └── service.go │ ├── task.go │ ├── tasks │ │ ├── apply-kube-config-values │ │ │ └── task.go │ │ ├── converge-modules │ │ │ └── task.go │ │ ├── discover-helm-release │ │ │ └── task.go │ │ ├── global-hook-enable-kubernetes-bindings │ │ │ └── task.go │ │ ├── global-hook-enable-schedule-bindings │ │ │ └── task.go │ │ ├── global-hook-run │ │ │ └── task.go │ │ ├── global-hook-wait-kubernetes-synchronization │ │ │ └── task.go │ │ ├── module-delete │ │ │ └── task.go │ │ ├── module-ensure-crds │ │ │ └── task.go │ │ ├── module-hook-run │ │ │ └── task.go │ │ ├── module-purge │ │ │ └── task.go │ │ ├── module-run │ │ │ └── task.go │ │ └── parallel-module-run │ │ │ └── task.go │ └── test │ │ └── task_metadata_test.go ├── utils │ ├── chroot.go │ ├── fschecksum.go │ ├── fswalk.go │ ├── helpers.go │ ├── jsonpatch.go │ ├── loader.go │ ├── merge_labels.go │ ├── mergemap.go │ ├── mergemap_test.go │ ├── module_config.go │ ├── module_config_test.go │ ├── module_list.go │ ├── stdliblogtolog │ │ ├── adapter.go │ │ └── adapter_test.go │ ├── values.go │ ├── values_patch.go │ ├── values_patch_test.go │ └── values_test.go └── values │ └── validation │ ├── cel │ └── cel.go │ ├── defaulting.go │ ├── defaulting_test.go │ ├── extend_test.go │ ├── required_test.go │ ├── schema │ ├── additional-properties.go │ ├── copy.go │ ├── extend.go │ ├── required-for-helm.go │ └── transform.go │ ├── schemas.go │ ├── schemas_test.go │ ├── testdata │ ├── test-schema-bad.yaml │ ├── test-schema-ok-project-2.yaml │ ├── test-schema-ok-project.yaml │ └── test-schema-ok.yaml │ └── validator_test.go └── sdk ├── registry.go ├── registry_test.go ├── sdk.go └── test ├── sdk_test.go └── simple_operator ├── global-hooks └── go-hook.go └── modules ├── 001-module-one └── hooks │ └── module-one-hook.go └── 002-module-two └── hooks └── level1 └── sublevel └── sub-sub-hook.go /.github/ISSUE_TEMPLATE/bug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/ISSUE_TEMPLATE/bug.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/ISSUE_TEMPLATE/feature.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/dependabot.yaml -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.github/workflows/checks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/checks.yaml -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/publish-dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/publish-dev.yaml -------------------------------------------------------------------------------- /.github/workflows/publish-release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/publish-release.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/README.md -------------------------------------------------------------------------------- /cmd/addon-operator/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/cmd/addon-operator/main.go -------------------------------------------------------------------------------- /cmd/post-renderer/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/cmd/post-renderer/main.go -------------------------------------------------------------------------------- /docs/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/book.toml -------------------------------------------------------------------------------- /docs/src/HOOKS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/HOOKS.md -------------------------------------------------------------------------------- /docs/src/LIFECYCLE-STEPS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/LIFECYCLE-STEPS.md -------------------------------------------------------------------------------- /docs/src/LIFECYCLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/LIFECYCLE.md -------------------------------------------------------------------------------- /docs/src/MODULES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/MODULES.md -------------------------------------------------------------------------------- /docs/src/OVERVIEW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/OVERVIEW.md -------------------------------------------------------------------------------- /docs/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/README.md -------------------------------------------------------------------------------- /docs/src/RUNNING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/RUNNING.md -------------------------------------------------------------------------------- /docs/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/src/VALUES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/VALUES.md -------------------------------------------------------------------------------- /docs/src/image/global_values_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/global_values_flow.png -------------------------------------------------------------------------------- /docs/src/image/logo-addon-operator-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/logo-addon-operator-small.png -------------------------------------------------------------------------------- /docs/src/image/module_values_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/module_values_flow.png -------------------------------------------------------------------------------- /docs/src/image/readme-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/readme-1.gif -------------------------------------------------------------------------------- /docs/src/image/readme-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/readme-2.gif -------------------------------------------------------------------------------- /docs/src/image/readme-3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/readme-3.gif -------------------------------------------------------------------------------- /docs/src/image/readme-4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/readme-4.gif -------------------------------------------------------------------------------- /docs/src/image/readme-5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/readme-5.gif -------------------------------------------------------------------------------- /docs/src/image/readme-6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/image/readme-6.gif -------------------------------------------------------------------------------- /docs/src/metrics/METRICS_FROM_HOOKS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/metrics/METRICS_FROM_HOOKS.md -------------------------------------------------------------------------------- /docs/src/metrics/ROOT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/metrics/ROOT.md -------------------------------------------------------------------------------- /docs/src/metrics/SELF_METRICS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/docs/src/metrics/SELF_METRICS.md -------------------------------------------------------------------------------- /examples/001-startup-global/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/001-startup-global/Dockerfile -------------------------------------------------------------------------------- /examples/001-startup-global/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/001-startup-global/README.md -------------------------------------------------------------------------------- /examples/001-startup-global/addon-operator-cm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/001-startup-global/addon-operator-cm.yaml -------------------------------------------------------------------------------- /examples/001-startup-global/addon-operator-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/001-startup-global/addon-operator-pod.yaml -------------------------------------------------------------------------------- /examples/001-startup-global/addon-operator-rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/001-startup-global/addon-operator-rbac.yaml -------------------------------------------------------------------------------- /examples/001-startup-global/global-hooks/hook.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/001-startup-global/global-hooks/hook.sh -------------------------------------------------------------------------------- /examples/001-startup-global/modules/README.md: -------------------------------------------------------------------------------- 1 | > FIXME: `modules` directory is required even if only global-hooks are used 2 | -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/002-startup-global-high-availability/Dockerfile -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/002-startup-global-high-availability/README.md -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/addon-operator-cm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/002-startup-global-high-availability/addon-operator-cm.yaml -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/addon-operator-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/002-startup-global-high-availability/addon-operator-deployment.yaml -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/addon-operator-rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/002-startup-global-high-availability/addon-operator-rbac.yaml -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/global-hooks/hook.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/002-startup-global-high-availability/global-hooks/hook.sh -------------------------------------------------------------------------------- /examples/002-startup-global-high-availability/modules/README.md: -------------------------------------------------------------------------------- 1 | > FIXME: `modules` directory is required even if only global-hooks are used 2 | -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/Dockerfile -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/README.md -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/addon-operator-cm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/addon-operator-cm.yaml -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/addon-operator-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/addon-operator-pod.yaml -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/addon-operator-rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/addon-operator-rbac.yaml -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: sysctl-tuner 2 | version: 0.1.0 3 | -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/README.md -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/hooks/module-hooks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/hooks/module-hooks.sh -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/templates/daemon-set.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/templates/daemon-set.yaml -------------------------------------------------------------------------------- /examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/101-module-sysctl-tuner/modules/001-sysctl-tuner/values.yaml -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/Dockerfile -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/README.md -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/addon-operator-cm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/addon-operator-cm.yaml -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/addon-operator-deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/addon-operator-deploy.yaml -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/addon-operator-rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/addon-operator-rbac.yaml -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: sysctl-tuner 2 | version: 0.1.0 3 | -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/README.md -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/hooks/module-hooks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/hooks/module-hooks.sh -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/templates/daemon-set.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/templates/daemon-set.yaml -------------------------------------------------------------------------------- /examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/201-sysctl-tuner-values/modules/001-sysctl-tuner/values.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/Dockerfile -------------------------------------------------------------------------------- /examples/202-module-symlinks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/README.md -------------------------------------------------------------------------------- /examples/202-module-symlinks/deploy/cm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/deploy/cm.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/deploy/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/deploy/deployment.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/deploy/rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/deploy/rbac.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/global-hooks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_dir_1/001-backend/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: backend 2 | version: 1.0 3 | -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_dir_1/001-backend/hooks/startup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/module_dir_1/001-backend/hooks/startup -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_dir_1/001-backend/templates/backend.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/module_dir_1/001-backend/templates/backend.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_dir_1/001-backend/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/module_dir_1/001-backend/values.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_dir_2/002-frontend: -------------------------------------------------------------------------------- 1 | ../module_storage/002-frontend -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_storage/002-frontend/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: frontend 2 | version: 1.0 3 | -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_storage/002-frontend/hooks/startup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/module_storage/002-frontend/hooks/startup -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_storage/002-frontend/templates/frontend.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/module_storage/002-frontend/templates/frontend.yaml -------------------------------------------------------------------------------- /examples/202-module-symlinks/module_storage/002-frontend/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/202-module-symlinks/module_storage/002-frontend/values.yaml -------------------------------------------------------------------------------- /examples/700-go-hook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/700-go-hook/README.md -------------------------------------------------------------------------------- /examples/700-go-hook/global-hooks/global-go-hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/700-go-hook/global-hooks/global-go-hook.go -------------------------------------------------------------------------------- /examples/700-go-hook/modules/001-module-go-hooks/hooks/go_hooks.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/700-go-hook/modules/001-module-go-hooks/hooks/go_hooks.go -------------------------------------------------------------------------------- /examples/700-go-hook/register_go_hooks.go.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/examples/700-go-hook/register_go_hooks.go.tpl -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/addon-operator/admission_http_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/admission_http_server.go -------------------------------------------------------------------------------- /pkg/addon-operator/bootstrap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/bootstrap.go -------------------------------------------------------------------------------- /pkg/addon-operator/converge/converge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/converge/converge.go -------------------------------------------------------------------------------- /pkg/addon-operator/debug_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/debug_server.go -------------------------------------------------------------------------------- /pkg/addon-operator/diff/diff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/diff/diff.go -------------------------------------------------------------------------------- /pkg/addon-operator/ensure_crds.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/ensure_crds.go -------------------------------------------------------------------------------- /pkg/addon-operator/handler_manager_events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/handler_manager_events.go -------------------------------------------------------------------------------- /pkg/addon-operator/handler_module_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/handler_module_manager.go -------------------------------------------------------------------------------- /pkg/addon-operator/http_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/http_server.go -------------------------------------------------------------------------------- /pkg/addon-operator/kube_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/kube_client.go -------------------------------------------------------------------------------- /pkg/addon-operator/operator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/operator.go -------------------------------------------------------------------------------- /pkg/addon-operator/operator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/operator_test.go -------------------------------------------------------------------------------- /pkg/addon-operator/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/queue.go -------------------------------------------------------------------------------- /pkg/addon-operator/queue_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/queue_test.go -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/config_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/config_map.yaml -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/global-hooks/hook01_startup_20_kube.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/global-hooks/hook01_startup_20_kube.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/global-hooks/hook02_startup_1_schedule.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/global-hooks/hook02_startup_1_schedule.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/global-hooks/hook03_startup_10_kube_schedule.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/global-hooks/hook03_startup_10_kube_schedule.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/modules/000-module-alpha/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: module-alpha 2 | version: 0.0.1 -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/modules/000-module-alpha/hooks/hook01_startup_20_kube.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/modules/000-module-alpha/hooks/hook01_startup_20_kube.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/modules/000-module-alpha/hooks/hook02_startup_1_schedule.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/modules/000-module-alpha/hooks/hook02_startup_1_schedule.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/modules/001-module-beta/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: module-beta 2 | version: 0.0.1 -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/modules/001-module-beta/hooks/hook01_startup_20_kube.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/modules/001-module-beta/hooks/hook01_startup_20_kube.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/converge__main_queue_only/modules/001-module-beta/hooks/hook02_after_delete_helm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/converge__main_queue_only/modules/001-module-beta/hooks/hook02_after_delete_helm.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/log_task__wait_for_synchronization/config_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/log_task__wait_for_synchronization/config_map.yaml -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/log_task__wait_for_synchronization/global-hooks/hook01_startup_20_kube.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/log_task__wait_for_synchronization/global-hooks/hook01_startup_20_kube.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/log_task__wait_for_synchronization/modules/000-module-alpha/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: module-alpha 2 | version: 0.0.1 -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/log_task__wait_for_synchronization/modules/000-module-alpha/hooks/hook01_startup_20_kube.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/log_task__wait_for_synchronization/modules/000-module-alpha/hooks/hook01_startup_20_kube.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/startup_tasks/global-hooks/hook01_startup_20_kube.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/startup_tasks/global-hooks/hook01_startup_20_kube.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/startup_tasks/global-hooks/hook02_startup_1_schedule.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/startup_tasks/global-hooks/hook02_startup_1_schedule.sh -------------------------------------------------------------------------------- /pkg/addon-operator/testdata/startup_tasks/global-hooks/hook03_startup_10_kube_schedule.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/addon-operator/testdata/startup_tasks/global-hooks/hook03_startup_10_kube_schedule.sh -------------------------------------------------------------------------------- /pkg/app/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/app/app.go -------------------------------------------------------------------------------- /pkg/app/debug-cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/app/debug-cmd.go -------------------------------------------------------------------------------- /pkg/helm/client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/client/client.go -------------------------------------------------------------------------------- /pkg/helm/helm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/helm.go -------------------------------------------------------------------------------- /pkg/helm/helm3lib/helm3lib.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/helm3lib/helm3lib.go -------------------------------------------------------------------------------- /pkg/helm/helm3lib/helm3lib_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/helm3lib/helm3lib_test.go -------------------------------------------------------------------------------- /pkg/helm/helm3lib/testdata/chart/Chart.yaml: -------------------------------------------------------------------------------- 1 | name: hello 2 | version: 0.1.0 3 | -------------------------------------------------------------------------------- /pkg/helm/helm3lib/testdata/chart/templates/001-resources.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/helm3lib/testdata/chart/templates/001-resources.yaml -------------------------------------------------------------------------------- /pkg/helm/helm_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/helm_test.go -------------------------------------------------------------------------------- /pkg/helm/nelm/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/nelm/logger.go -------------------------------------------------------------------------------- /pkg/helm/nelm/nelm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/nelm/nelm.go -------------------------------------------------------------------------------- /pkg/helm/post_renderer/post_renderer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/post_renderer/post_renderer.go -------------------------------------------------------------------------------- /pkg/helm/post_renderer/post_renderer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/post_renderer/post_renderer_test.go -------------------------------------------------------------------------------- /pkg/helm/test/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/test/mock/mock.go -------------------------------------------------------------------------------- /pkg/helm/version_detect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/version_detect.go -------------------------------------------------------------------------------- /pkg/helm/version_detect_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm/version_detect_test.go -------------------------------------------------------------------------------- /pkg/helm_resources_manager/helm_resources_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm_resources_manager/helm_resources_manager.go -------------------------------------------------------------------------------- /pkg/helm_resources_manager/resources_monitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm_resources_manager/resources_monitor.go -------------------------------------------------------------------------------- /pkg/helm_resources_manager/test/mock/mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm_resources_manager/test/mock/mock.go -------------------------------------------------------------------------------- /pkg/helm_resources_manager/types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/helm_resources_manager/types/types.go -------------------------------------------------------------------------------- /pkg/hook/types/bindings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/hook/types/bindings.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/backend/backend.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/backend/backend.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/backend/configmap/configmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/backend/configmap/configmap.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/backend/configmap/configmap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/backend/configmap/configmap_test.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/checksums.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/checksums.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/checksums_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/checksums_test.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/config/config.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/config/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/config/event.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/kube_config_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/kube_config_manager.go -------------------------------------------------------------------------------- /pkg/kube_config_manager/kube_config_manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/kube_config_manager/kube_config_manager_test.go -------------------------------------------------------------------------------- /pkg/labels.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/labels.go -------------------------------------------------------------------------------- /pkg/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/metrics/metrics.go -------------------------------------------------------------------------------- /pkg/module_manager/environment_manager/evironment_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/environment_manager/evironment_manager.go -------------------------------------------------------------------------------- /pkg/module_manager/environment_manager/evironment_manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/environment_manager/evironment_manager_test.go -------------------------------------------------------------------------------- /pkg/module_manager/environment_manager/mount.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/environment_manager/mount.go -------------------------------------------------------------------------------- /pkg/module_manager/environment_manager/mount_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/environment_manager/mount_linux.go -------------------------------------------------------------------------------- /pkg/module_manager/go_hook/filter_result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/go_hook/filter_result.go -------------------------------------------------------------------------------- /pkg/module_manager/go_hook/filter_result_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/go_hook/filter_result_test.go -------------------------------------------------------------------------------- /pkg/module_manager/go_hook/go_hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/go_hook/go_hook.go -------------------------------------------------------------------------------- /pkg/module_manager/go_hook/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/go_hook/logger.go -------------------------------------------------------------------------------- /pkg/module_manager/go_hook/metrics/collector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/go_hook/metrics/collector.go -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/fs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/fs/fs.go -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/fs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/fs/fs_test.go -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir1/001-module-one: -------------------------------------------------------------------------------- 1 | ../modules/001-module-one -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir1/002-module-two: -------------------------------------------------------------------------------- 1 | ../modules/002-module-two -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir1/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/fs/testdata/module_loader/dir1/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir2/012-mod-two: -------------------------------------------------------------------------------- 1 | ../modules/002-module-two -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir2/100-mod-one: -------------------------------------------------------------------------------- 1 | ../modules/001-module-one -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir2/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/fs/testdata/module_loader/dir2/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/dir3/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/fs/testdata/module_loader/dir3/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/modules/001-module-one/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/fs/testdata/module_loader/modules/001-module-one/.gitkeep -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/modules/002-module-two/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/loader/fs/testdata/module_loader/modules/003-module-three/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/loader/loader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/loader/loader.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/dependency.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/dependency.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/global_hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/global_hook.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/global_hook_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/global_hook_config.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/global_hook_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/global_hook_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/batch_hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/batch_hook.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/batch_hook_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/batch_hook_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/config.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/gohook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/gohook.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/gohook_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/gohook_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/kind.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/kind.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/shellhook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/shellhook.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/kind/shellhook_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/kind/shellhook_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/module_hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/module_hook.go -------------------------------------------------------------------------------- /pkg/module_manager/models/hooks/module_hook_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/hooks/module_hook_config.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/basic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/basic.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/basic_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/basic_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/events/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/events/events.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/global.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/global.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/global_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/global_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/helm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/helm.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/hook_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/hook_storage.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/module_options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/module_options.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/synchronization_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/synchronization_state.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/testdata/global/openapi/config-values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/testdata/global/openapi/config-values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/testdata/global/openapi/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/testdata/global/openapi/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/values_defaulting_transformers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/values_defaulting_transformers.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/values_layered.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/values_layered.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/values_layered_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/values_layered_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/values_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/values_storage.go -------------------------------------------------------------------------------- /pkg/module_manager/models/modules/values_storage_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/modules/values_storage_test.go -------------------------------------------------------------------------------- /pkg/module_manager/models/moduleset/moduleset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/moduleset/moduleset.go -------------------------------------------------------------------------------- /pkg/module_manager/models/moduleset/moduleset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/models/moduleset/moduleset_test.go -------------------------------------------------------------------------------- /pkg/module_manager/module_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/module_manager.go -------------------------------------------------------------------------------- /pkg/module_manager/module_manager_hooks.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/module_manager_hooks.go -------------------------------------------------------------------------------- /pkg/module_manager/module_manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/module_manager_test.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/dynamically_enabled/dynamic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/dynamically_enabled/dynamic.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/dynamically_enabled/dynamic_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/dynamically_enabled/dynamic_test.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/error/permanent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/error/permanent.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/extenders.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/extenders.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/kube_config/kube_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/kube_config/kube_config.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/mock/extenders_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/mock/extenders_mock.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/script.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/script_enabled/script.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/script_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/script_enabled/script_test.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/testdata/015-admission-policy-engine/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/testdata/020-node-local-dns/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/testdata/031-foo-bar/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/testdata/045-chrony/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/script_enabled/testdata/402-ingress-nginx/enabled: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | exit 0 4 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/static/static.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/static/static.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/extenders/static/static_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/extenders/static/static_test.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/node/mock/node_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/node/mock/node_mock.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/node/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/node/node.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/node/node_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/node/node_test.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/scheduler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/scheduler.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/scheduler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/scheduler/scheduler_test.go -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/015-admission-policy-engine/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/042-kube-dns/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/133-foo-bar/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/20-cert-manager/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/340-monitoring-applications/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/340-prometheus/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/402-ingress-nginx/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/450-flant-integration/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/scheduler/testdata/909-test-echo/enabled: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hook/global-hooks/000-all-bindings/hook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__global_hook/global-hooks/000-all-bindings/hook -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hook/global-hooks/100-nested-hook/sub/sub/hook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__global_hook/global-hooks/100-nested-hook/sub/sub/hook -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hook/modules/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hooks_in_order/global-hooks/000-before-all-binding-hooks/a: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ "$1" == "--config" ]]; then 4 | echo '{ "afterAll": 4 }' 5 | fi 6 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hooks_in_order/global-hooks/000-before-all-binding-hooks/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__global_hooks_in_order/global-hooks/000-before-all-binding-hooks/b -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hooks_in_order/global-hooks/000-before-all-binding-hooks/c: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [[ "$1" == "--config" ]]; then 4 | echo '{"afterAll": 3}' 5 | fi 6 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__global_hooks_in_order/modules/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module/modules/000-module/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hook/modules/000-all-bindings/hooks/all-bindings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__module_hook/modules/000-all-bindings/hooks/all-bindings -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hook/modules/100-nested-hooks/hooks/sub/sub/nested-before-helm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__module_hook/modules/100-nested-hooks/hooks/sub/sub/nested-before-helm -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hooks_in_order/config_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__module_hooks_in_order/config_map.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/hooks/a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/hooks/a -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/hooks/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/hooks/b -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/hooks/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/hooks/c -------------------------------------------------------------------------------- /pkg/module_manager/testdata/get__module_hooks_in_order/modules/107-after-helm-binding-hooks/values.yaml: -------------------------------------------------------------------------------- 1 | afterHelmBindingHooksEnabled: true 2 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_and_validate_usage/global/hooks/hook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_and_validate_usage/global/hooks/hook -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_and_validate_usage/global/openapi/config-values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_and_validate_usage/global/openapi/config-values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_and_validate_usage/modules/000-test-module/hooks/hook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_and_validate_usage/modules/000-test-module/hooks/hook -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_and_validate_usage/modules/000-test-module/openapi/config-values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_and_validate_usage/modules/000-test-module/openapi/config-values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_and_module_and_kube/config_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__common_and_module_and_kube/config_map.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/000-with-values-1/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/000-with-values-1/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/001-with-values-2/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/001-with-values-2/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/002-without-values/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/003-with-kube-values/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__common_and_module_and_kube/modules/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_static_empty/modules/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__common_static_empty/modules/.gitkeep -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_static_empty/modules/000-module/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__common_static_global_only/modules/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__common_static_global_only/modules/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_apply_defaults/config_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_apply_defaults/config_map.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_apply_defaults/global-hooks/openapi/config-values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_apply_defaults/global-hooks/openapi/config-values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_apply_defaults/global-hooks/openapi/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_apply_defaults/global-hooks/openapi/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_apply_defaults/modules/000-module-one/openapi/config-values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_apply_defaults/modules/000-module-one/openapi/config-values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_apply_defaults/modules/000-module-one/openapi/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_apply_defaults/modules/000-module-one/openapi/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_apply_defaults/modules/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_apply_defaults/modules/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_static_only/modules/000-with-values-1/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_static_only/modules/000-with-values-1/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/load_values__module_static_only/modules/001-with-values-2/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/load_values__module_static_only/modules/001-with-values-2/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/loader/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/loader/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__detect_cm_changes/config_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__detect_cm_changes/config_map.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__detect_cm_changes/modules/001-module-one/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__detect_cm_changes/modules/003-module-three/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__detect_cm_changes/modules/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__detect_cm_changes/modules/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/000-module-c/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/000-module-c/values.yaml: -------------------------------------------------------------------------------- 1 | moduleCEnabled: true 2 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/100-module-a/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/200-module-b/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/200-module-b/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/200-module-b/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/300-module-disabled/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__module_names_order/modules/300-module-disabled/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/001-module-1/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/003-module-3/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/004-module-4/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/007-module-7/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/008-module-8/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/009-module-9/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__simple/modules/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__simple/modules/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/001-alpha/enabled: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo true > $MODULE_ENABLED_RESULT 4 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/002-beta/enabled: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo false > $MODULE_ENABLED_RESULT 4 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/003-gamma/enabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/003-gamma/enabled -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/004-delta/enabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/004-delta/enabled -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/005-epsilon/enabled: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo true > $MODULE_ENABLED_RESULT 4 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/006-zeta/enabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/006-zeta/enabled -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/007-eta/enabled: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo true > $MODULE_ENABLED_RESULT 4 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/modules_state__no_cm__with_enabled_scripts/modules/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/.helmignore -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/Chart.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/hooks/hook-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/hooks/hook-1 -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/hooks/hook-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/hooks/hook-2 -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/NOTES.txt -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/_helpers.tpl -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/deployment.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/ingress.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/templates/service.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_delete_module/modules/000-module/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_delete_module/modules/000-module/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_global_hook/global-hooks/000-update-kube-config/merge_and_patch_values: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_global_hook/global-hooks/000-update-kube-config/merge_and_patch_values -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_global_hook/global-hooks/100-update-dynamic/merge_and_patch_values: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_global_hook/global-hooks/100-update-dynamic/merge_and_patch_values -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_global_hook/modules/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/.helmignore -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/Chart.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-1 -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-2 -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-3 -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/hooks/hook-4 -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/templates/NOTES.txt -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/templates/_helpers.tpl -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/templates/deployment.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/templates/ingress.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/templates/service.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module/modules/000-module/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module/modules/000-module/values.yaml -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module_hook/modules/000-update-kube-module-config/hooks/merge_and_patch_values: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module_hook/modules/000-update-kube-module-config/hooks/merge_and_patch_values -------------------------------------------------------------------------------- /pkg/module_manager/testdata/test_run_module_hook/modules/100-update-module-dynamic/hooks/merge_and_patch_values: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/module_manager/testdata/test_run_module_hook/modules/100-update-module-dynamic/hooks/merge_and_patch_values -------------------------------------------------------------------------------- /pkg/task/discover-crds/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/discover-crds/service.go -------------------------------------------------------------------------------- /pkg/task/functional/scheduler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/functional/scheduler.go -------------------------------------------------------------------------------- /pkg/task/functional/scheduler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/functional/scheduler_test.go -------------------------------------------------------------------------------- /pkg/task/helpers/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/helpers/helpers.go -------------------------------------------------------------------------------- /pkg/task/hook_metadata.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/hook_metadata.go -------------------------------------------------------------------------------- /pkg/task/parallel/parallel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/parallel/parallel.go -------------------------------------------------------------------------------- /pkg/task/queue/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/queue/queue.go -------------------------------------------------------------------------------- /pkg/task/queue/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/queue/utils.go -------------------------------------------------------------------------------- /pkg/task/service/converge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/service/converge.go -------------------------------------------------------------------------------- /pkg/task/service/logs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/service/logs.go -------------------------------------------------------------------------------- /pkg/task/service/metric.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/service/metric.go -------------------------------------------------------------------------------- /pkg/task/service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/service/service.go -------------------------------------------------------------------------------- /pkg/task/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/apply-kube-config-values/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/apply-kube-config-values/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/converge-modules/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/converge-modules/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/discover-helm-release/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/discover-helm-release/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/global-hook-enable-kubernetes-bindings/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/global-hook-enable-kubernetes-bindings/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/global-hook-enable-schedule-bindings/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/global-hook-enable-schedule-bindings/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/global-hook-run/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/global-hook-run/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/global-hook-wait-kubernetes-synchronization/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/global-hook-wait-kubernetes-synchronization/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/module-delete/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/module-delete/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/module-ensure-crds/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/module-ensure-crds/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/module-hook-run/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/module-hook-run/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/module-purge/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/module-purge/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/module-run/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/module-run/task.go -------------------------------------------------------------------------------- /pkg/task/tasks/parallel-module-run/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/tasks/parallel-module-run/task.go -------------------------------------------------------------------------------- /pkg/task/test/task_metadata_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/task/test/task_metadata_test.go -------------------------------------------------------------------------------- /pkg/utils/chroot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/chroot.go -------------------------------------------------------------------------------- /pkg/utils/fschecksum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/fschecksum.go -------------------------------------------------------------------------------- /pkg/utils/fswalk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/fswalk.go -------------------------------------------------------------------------------- /pkg/utils/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/helpers.go -------------------------------------------------------------------------------- /pkg/utils/jsonpatch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/jsonpatch.go -------------------------------------------------------------------------------- /pkg/utils/loader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/loader.go -------------------------------------------------------------------------------- /pkg/utils/merge_labels.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/merge_labels.go -------------------------------------------------------------------------------- /pkg/utils/mergemap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/mergemap.go -------------------------------------------------------------------------------- /pkg/utils/mergemap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/mergemap_test.go -------------------------------------------------------------------------------- /pkg/utils/module_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/module_config.go -------------------------------------------------------------------------------- /pkg/utils/module_config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/module_config_test.go -------------------------------------------------------------------------------- /pkg/utils/module_list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/module_list.go -------------------------------------------------------------------------------- /pkg/utils/stdliblogtolog/adapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/stdliblogtolog/adapter.go -------------------------------------------------------------------------------- /pkg/utils/stdliblogtolog/adapter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/stdliblogtolog/adapter_test.go -------------------------------------------------------------------------------- /pkg/utils/values.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/values.go -------------------------------------------------------------------------------- /pkg/utils/values_patch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/values_patch.go -------------------------------------------------------------------------------- /pkg/utils/values_patch_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/values_patch_test.go -------------------------------------------------------------------------------- /pkg/utils/values_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/utils/values_test.go -------------------------------------------------------------------------------- /pkg/values/validation/cel/cel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/cel/cel.go -------------------------------------------------------------------------------- /pkg/values/validation/defaulting.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/defaulting.go -------------------------------------------------------------------------------- /pkg/values/validation/defaulting_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/defaulting_test.go -------------------------------------------------------------------------------- /pkg/values/validation/extend_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/extend_test.go -------------------------------------------------------------------------------- /pkg/values/validation/required_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/required_test.go -------------------------------------------------------------------------------- /pkg/values/validation/schema/additional-properties.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schema/additional-properties.go -------------------------------------------------------------------------------- /pkg/values/validation/schema/copy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schema/copy.go -------------------------------------------------------------------------------- /pkg/values/validation/schema/extend.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schema/extend.go -------------------------------------------------------------------------------- /pkg/values/validation/schema/required-for-helm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schema/required-for-helm.go -------------------------------------------------------------------------------- /pkg/values/validation/schema/transform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schema/transform.go -------------------------------------------------------------------------------- /pkg/values/validation/schemas.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schemas.go -------------------------------------------------------------------------------- /pkg/values/validation/schemas_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/schemas_test.go -------------------------------------------------------------------------------- /pkg/values/validation/testdata/test-schema-bad.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/testdata/test-schema-bad.yaml -------------------------------------------------------------------------------- /pkg/values/validation/testdata/test-schema-ok-project-2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/testdata/test-schema-ok-project-2.yaml -------------------------------------------------------------------------------- /pkg/values/validation/testdata/test-schema-ok-project.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/testdata/test-schema-ok-project.yaml -------------------------------------------------------------------------------- /pkg/values/validation/testdata/test-schema-ok.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/testdata/test-schema-ok.yaml -------------------------------------------------------------------------------- /pkg/values/validation/validator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/pkg/values/validation/validator_test.go -------------------------------------------------------------------------------- /sdk/registry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/registry.go -------------------------------------------------------------------------------- /sdk/registry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/registry_test.go -------------------------------------------------------------------------------- /sdk/sdk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/sdk.go -------------------------------------------------------------------------------- /sdk/test/sdk_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/test/sdk_test.go -------------------------------------------------------------------------------- /sdk/test/simple_operator/global-hooks/go-hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/test/simple_operator/global-hooks/go-hook.go -------------------------------------------------------------------------------- /sdk/test/simple_operator/modules/001-module-one/hooks/module-one-hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/test/simple_operator/modules/001-module-one/hooks/module-one-hook.go -------------------------------------------------------------------------------- /sdk/test/simple_operator/modules/002-module-two/hooks/level1/sublevel/sub-sub-hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flant/addon-operator/HEAD/sdk/test/simple_operator/modules/002-module-two/hooks/level1/sublevel/sub-sub-hook.go --------------------------------------------------------------------------------