Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ APISERVER_IMG ?= apiserver:latest
# Docker image name for the mkdocs based local development setup
IMAGE=onmetal-api/documentation

# kind cluster which should be used
KIND_CLUSTER ?= kind

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
GOBIN=$(shell go env GOPATH)/bin
Expand Down Expand Up @@ -158,11 +161,11 @@ kind-build: kind-build-apiserver kind-build-controller ## Build the apiserver an

.PHONY: kind-load-apiserver
kind-load-apiserver: ## Load the apiserver image into the kind cluster.
kind load docker-image apiserver
kind load docker-image apiserver --name ${KIND_CLUSTER}

.PHONY: kind-load-controller
kind-load-controller: ## Load the controller image into the kind cluster.
kind load docker-image controller
kind load docker-image controller --name ${KIND_CLUSTER}

.PHONY: kind-load
kind-load: kind-load-apiserver kind-load-controller ## Load the apiserver and controller in kind.
Expand Down
8 changes: 8 additions & 0 deletions docs/development/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ git clone [email protected]:onmetal/onmetal-api.git
cd onmetal-api
```

## Install cert-manager

If there is no [cert-manager](https://cert-manager.io/docs/) present in the cluster it needs to be installed.

```shell
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
```

## Install APIs into the Cluster

Your Kubernetes API server needs to know about the APIs which come with the `onmetal-api` project. To install the APIs
Expand Down