Skip to content

Commit

Permalink
docs: generate initial docs and release first version (#3)
Browse files Browse the repository at this point in the history
docs: generate initial docs and release first version
  • Loading branch information
philwinder authored May 7, 2021
1 parent 50ad595 commit 5ad9520
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: terraform
on:
push:
paths:
- '**.tf'
on: push
env:
TF_CHDIR: -chdir=examples/basic
jobs:
Expand Down
68 changes: 68 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# terraform-k8s-feast

Feast terraform module for combinator.ml

## Usage

```terraform
module "feast" {
source = "combinator-ml/feast/k8s"
version = "0.0.0"
}
```

See the full configuration options below.

### Stack Creation

```bash
KUBE_CONFIG_PATH=~/.kube/config terraform apply
```

### Stack Deletion

```bash
KUBE_CONFIG_PATH=~/.kube/config terraform destroy
```

## Known Issues

- Why do you have to explicitly export the Kubernetes config?

I found that hardcoding the kubeconfig led to [this terraform bug](https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1234).

## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| helm | n/a |
| kubernetes | n/a |
| random | n/a |

## Modules

No Modules.

## Resources

| Name |
|------|
| [helm_release](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) |
| [kubernetes_namespace](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) |
| [kubernetes_secret](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/secret) |
| [random_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| name\_prefix | Prefix to be used when naming the different components of Feast | `string` | `"combinator"` | no |
| namespace | (Optional) The namespace to install into. Defaults to feast. | `string` | `"feast"` | no |

## Outputs

No output.

0 comments on commit 5ad9520

Please sign in to comment.