Skip to content

Commit

Permalink
document cluster outputs for integrating with other providers
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-the-programmer committed Dec 23, 2023
1 parent 8f4dfde commit 00a73b9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,29 @@ You can use `minikube` to verify the cluster is up & running
|----------------------------------------|-----------|---------|---------------|------|---------|---------|-------|
```

## Outputs

In order to integrate the minikube providers with other k8s providers, you can reference the following outputs

- `client_certificate` (string, sensitive) client certificate used in cluster
- `client_key` (string, sensitive) client key for cluster
- `cluster_ca_certificate` (string, sensitive) certificate authority for cluster
- `host` (string) the host name for the cluster

These outputs are consistent across supported by all minikube cluster types

i.e.

```terraform
provider "kubernetes" {
host = minikube_cluster.cluster.host
client_certificate = minikube_cluster.cluster.client_certificate
client_key = minikube_cluster.cluster.client_key
cluster_ca_certificate = minikube_cluster.cluster.cluster_ca_certificate
}
```

## Want to help out?

See [the contributing doc](./contributing.md) if you wish to get into the details of this terraform minikube provider!

0 comments on commit 00a73b9

Please sign in to comment.