Skip to content

Commit

Permalink
Merge pull request #2972 from prankul88/developer-guide
Browse files Browse the repository at this point in the history
📖 Improvements in Developer Guide
  • Loading branch information
k8s-ci-robot authored Apr 28, 2020
2 parents 1c2d89c + 693da53 commit ef72ed6
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/book/src/developer/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,24 @@ You'll need to [install `kubebuilder`][kubebuilder].

[kubebuilder]: https://book.kubebuilder.io/quick-start.html#installation

### Cert-Manager

You'll need to deploy [cert-manager] components on your [management cluster][mcluster], using `kubectl`

```bash
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.11.0/cert-manager.yaml
```

Ensure the cert-manager webhook service is ready before creating the Cluster API components.

This can be done by running:

```bash
kubectl wait --for=condition=Available --timeout=300s apiservice v1beta1.webhook.cert-manager.io
```

[cert-manager]: https://github.com/jetstack/cert-manager

## Development

## Option 1: Tilt
Expand Down Expand Up @@ -115,7 +133,7 @@ and

```
$EDITOR config/manager/manager_image_patch.yaml
$EDITOR
$EDITOR test/infrastructure/docker/config/default/manager_image_patch.yaml
```

In both cases, change the `- image:` url to the digest URL mentioned above:
Expand Down Expand Up @@ -149,6 +167,7 @@ clusterrole.rbac.authorization.k8s.io/capi-manager-role configured
rolebinding.rbac.authorization.k8s.io/capi-leader-election-rolebinding configured
clusterrolebinding.rbac.authorization.k8s.io/capi-manager-rolebinding configured
deployment.apps/capi-controller-manager created

$ kustomize build test/infrastructure/docker/config | kubectl apply -f -
namespace/capd-system configured
customresourcedefinition.apiextensions.k8s.io/dockerclusters.infrastructure.cluster.x-k8s.io configured
Expand Down

0 comments on commit ef72ed6

Please sign in to comment.