├── .dockerignore ├── .github ├── release.sh └── workflows │ ├── go.yml │ ├── helm.yml │ └── tests.yml ├── .gitignore ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── Makefile ├── PROJECT ├── README.md ├── assets └── img │ └── autoneg.png ├── config ├── default │ ├── kustomization.yaml │ ├── manager_auth_proxy_patch.yaml │ └── manager_config_patch.yaml ├── manager │ ├── controller_manager_config.yaml │ ├── kustomization.yaml │ └── manager.yaml ├── prometheus │ ├── kustomization.yaml │ └── monitor.yaml └── rbac │ ├── auth_proxy_client_clusterrole.yaml │ ├── auth_proxy_role.yaml │ ├── auth_proxy_role_binding.yaml │ ├── auth_proxy_service.yaml │ ├── kustomization.yaml │ ├── leader_election_role.yaml │ ├── leader_election_role_binding.yaml │ ├── role.yaml │ ├── role_binding.yaml │ └── service_account.yaml ├── controllers ├── autoneg.go ├── autoneg_test.go ├── controller_test.go ├── service_controller.go ├── suite_test.go ├── types.go ├── utils.go └── utils_test.go ├── deploy ├── autoneg-namespaced.yaml ├── autoneg.yaml ├── chart │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── templates │ │ ├── _helpers.tpl │ │ ├── cluster-role.yaml │ │ ├── clusterrole-binding.yaml │ │ ├── deployment.yaml │ │ ├── namespace.yaml │ │ ├── poddisruptionbudget.yaml │ │ ├── podmonitoring.yaml │ │ ├── role-binding.yaml │ │ ├── role.yaml │ │ ├── service-account.yaml │ │ └── service.yaml │ └── values.yaml └── workload_identity.sh ├── go.mod ├── go.sum ├── hack ├── boilerplate.bash.txt └── boilerplate.go.txt ├── main.go └── terraform ├── autoneg ├── main.tf ├── outputs.tf └── variables.tf ├── example.tf ├── gcp ├── main.tf ├── outputs.tf └── variables.tf ├── kubernetes ├── main.tf ├── outputs.tf └── variables.tf └── test ├── main.tf └── variables.tf /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/.github/release.sh -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/helm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/.github/workflows/helm.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/Makefile -------------------------------------------------------------------------------- /PROJECT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/PROJECT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/README.md -------------------------------------------------------------------------------- /assets/img/autoneg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/assets/img/autoneg.png -------------------------------------------------------------------------------- /config/default/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/default/kustomization.yaml -------------------------------------------------------------------------------- /config/default/manager_auth_proxy_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/default/manager_auth_proxy_patch.yaml -------------------------------------------------------------------------------- /config/default/manager_config_patch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/default/manager_config_patch.yaml -------------------------------------------------------------------------------- /config/manager/controller_manager_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/manager/controller_manager_config.yaml -------------------------------------------------------------------------------- /config/manager/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/manager/kustomization.yaml -------------------------------------------------------------------------------- /config/manager/manager.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/manager/manager.yaml -------------------------------------------------------------------------------- /config/prometheus/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/prometheus/kustomization.yaml -------------------------------------------------------------------------------- /config/prometheus/monitor.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/prometheus/monitor.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_client_clusterrole.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/auth_proxy_client_clusterrole.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/auth_proxy_role.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/auth_proxy_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/auth_proxy_service.yaml -------------------------------------------------------------------------------- /config/rbac/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/kustomization.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/leader_election_role.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/leader_election_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/role.yaml -------------------------------------------------------------------------------- /config/rbac/role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/service_account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/config/rbac/service_account.yaml -------------------------------------------------------------------------------- /controllers/autoneg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/autoneg.go -------------------------------------------------------------------------------- /controllers/autoneg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/autoneg_test.go -------------------------------------------------------------------------------- /controllers/controller_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/controller_test.go -------------------------------------------------------------------------------- /controllers/service_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/service_controller.go -------------------------------------------------------------------------------- /controllers/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/suite_test.go -------------------------------------------------------------------------------- /controllers/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/types.go -------------------------------------------------------------------------------- /controllers/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/utils.go -------------------------------------------------------------------------------- /controllers/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/controllers/utils_test.go -------------------------------------------------------------------------------- /deploy/autoneg-namespaced.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/autoneg-namespaced.yaml -------------------------------------------------------------------------------- /deploy/autoneg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/autoneg.yaml -------------------------------------------------------------------------------- /deploy/chart/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/.helmignore -------------------------------------------------------------------------------- /deploy/chart/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/Chart.yaml -------------------------------------------------------------------------------- /deploy/chart/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/README.md -------------------------------------------------------------------------------- /deploy/chart/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/_helpers.tpl -------------------------------------------------------------------------------- /deploy/chart/templates/cluster-role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/cluster-role.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/clusterrole-binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/clusterrole-binding.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/deployment.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/namespace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/namespace.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/poddisruptionbudget.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/poddisruptionbudget.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/podmonitoring.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/podmonitoring.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/role-binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/role-binding.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/role.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/service-account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/service-account.yaml -------------------------------------------------------------------------------- /deploy/chart/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/templates/service.yaml -------------------------------------------------------------------------------- /deploy/chart/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/chart/values.yaml -------------------------------------------------------------------------------- /deploy/workload_identity.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/deploy/workload_identity.sh -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/go.sum -------------------------------------------------------------------------------- /hack/boilerplate.bash.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/hack/boilerplate.bash.txt -------------------------------------------------------------------------------- /hack/boilerplate.go.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/hack/boilerplate.go.txt -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/main.go -------------------------------------------------------------------------------- /terraform/autoneg/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/autoneg/main.tf -------------------------------------------------------------------------------- /terraform/autoneg/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/autoneg/outputs.tf -------------------------------------------------------------------------------- /terraform/autoneg/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/autoneg/variables.tf -------------------------------------------------------------------------------- /terraform/example.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/example.tf -------------------------------------------------------------------------------- /terraform/gcp/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/gcp/main.tf -------------------------------------------------------------------------------- /terraform/gcp/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/gcp/outputs.tf -------------------------------------------------------------------------------- /terraform/gcp/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/gcp/variables.tf -------------------------------------------------------------------------------- /terraform/kubernetes/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/kubernetes/main.tf -------------------------------------------------------------------------------- /terraform/kubernetes/outputs.tf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /terraform/kubernetes/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/kubernetes/variables.tf -------------------------------------------------------------------------------- /terraform/test/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/test/main.tf -------------------------------------------------------------------------------- /terraform/test/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/gke-autoneg-controller/HEAD/terraform/test/variables.tf --------------------------------------------------------------------------------