{"id":18785805,"url":"https://github.com/scott-the-programmer/terraform-provider-minikube","last_synced_at":"2025-05-12T17:25:56.756Z","repository":{"id":41457176,"uuid":"499977822","full_name":"scott-the-programmer/terraform-provider-minikube","owner":"scott-the-programmer","description":"A terraform provider for minikube!","archived":false,"fork":false,"pushed_at":"2025-05-11T09:49:22.000Z","size":919,"stargazers_count":60,"open_issues_count":7,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T10:32:02.573Z","etag":null,"topics":["kubernetes","minikube","minikube-cluster","minikube-setup","terraform"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scott-the-programmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-05T02:00:40.000Z","updated_at":"2025-05-11T09:49:24.000Z","dependencies_parsed_at":"2023-10-15T00:29:26.858Z","dependency_job_id":"6825f92c-1e19-4031-9c85-281f3ded93dc","html_url":"https://github.com/scott-the-programmer/terraform-provider-minikube","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-the-programmer%2Fterraform-provider-minikube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-the-programmer%2Fterraform-provider-minikube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-the-programmer%2Fterraform-provider-minikube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scott-the-programmer%2Fterraform-provider-minikube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scott-the-programmer","download_url":"https://codeload.github.com/scott-the-programmer/terraform-provider-minikube/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253785922,"owners_count":21964054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","minikube","minikube-cluster","minikube-setup","terraform"],"created_at":"2024-11-07T20:49:42.195Z","updated_at":"2025-05-12T17:25:56.740Z","avatar_url":"https://github.com/scott-the-programmer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-provider-minikube\n\n [![Go Report Card](https://goreportcard.com/badge/github.com/scott-the-programmer/terraform-provider-minikube)](https://goreportcard.com/report/github.com/scott-the-programmer/terraform-provider-minikube)\n[![codecov](https://codecov.io/gh/scott-the-programmer/terraform-provider-minikube/graph/badge.svg?token=MH35FEWVAH)](https://codecov.io/gh/scott-the-programmer/terraform-provider-minikube)\n![Terraform Provider Downloads](https://img.shields.io/terraform/provider/dt/3266)\n\nA terraform provider for [minikube!](https://minikube.sigs.k8s.io/docs/)\n\nThe goal of this project is to allow developers to create minikube clusters and integrate it with common kubernetes terraform providers such as [hashicorp/kubernetes](https://registry.terraform.io/providers/hashicorp/kubernetes/2.12.1) and [hashicorp/helm](https://registry.terraform.io/providers/hashicorp/helm/2.6.0) all within the comfort of minikube!\n\nYou can learn more about how to use the provider at https://registry.terraform.io/providers/scott-the-programmer/minikube/latest/docs\n\n## Installing your preferred driver\n\n```bash\nminikube start --vm=true --driver=hyperkit --download-only\nminikube start --vm=true --driver=hyperv --download-only\nminikube start --driver=docker --download-only\n```\n\nSome drivers require a bit of prerequisite setup, so it's best to visit [https://minikube.sigs.k8s.io/docs/drivers/](https://minikube.sigs.k8s.io/docs/drivers/) first\n\n## Usage\n\n```terraform\nprovider minikube {\n  kubernetes_version = \"v1.30.0\"\n}\n\nresource \"minikube_cluster\" \"cluster\" {\n  vm      = true\n  driver  = \"hyperkit\"\n  cni     = \"bridge\"\n  addons  = [\n    \"dashboard\",\n    \"default-storageclass\",\n    \"ingress\",\n    \"storage-provisioner\"\n  ]\n}\n```\n\nYou can use `minikube` to verify the cluster is up \u0026 running\n\n```console\n\u003e minikube profile list\n\n|----------------------------------------|-----------|---------|---------------|------|---------|---------|-------|\n|                Profile                 | VM Driver | Runtime |      IP       | Port | Version | Status  | Nodes |\n|----------------------------------------|-----------|---------|---------------|------|---------|---------|-------|\n| terraform-provider-minikube            | hyperkit  | docker  | 192.168.64.42 | 8443 | v1.26.3 | Running |     1 |\n|----------------------------------------|-----------|---------|---------------|------|---------|---------|-------|\n```\n\n## Outputs\n\nIn order to integrate the minikube providers with other k8s providers, you can reference the following outputs\n\n- `client_certificate` (string, sensitive) client certificate used in cluster\n- `client_key` (string, sensitive) client key for cluster\n- `cluster_ca_certificate` (string, sensitive) certificate authority for cluster\n- `host` (string) the host name for the cluster\n\nThese outputs are consistent across supported by all minikube cluster types\n\ni.e.\n\n```terraform\nprovider \"kubernetes\" {\n  host = minikube_cluster.cluster.host\n\n  client_certificate     = minikube_cluster.cluster.client_certificate\n  client_key             = minikube_cluster.cluster.client_key\n  cluster_ca_certificate = minikube_cluster.cluster.cluster_ca_certificate\n}\n```\n\n## Want to help out?\n\nSee [the contributing doc](./contributing.md) if you wish to get into the details of this terraform minikube provider!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscott-the-programmer%2Fterraform-provider-minikube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscott-the-programmer%2Fterraform-provider-minikube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscott-the-programmer%2Fterraform-provider-minikube/lists"}