Skip to content

Commit 693da53

Browse files
committed
Update Developer Guide
1 parent 18ce96a commit 693da53

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/book/src/developer/guide.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,24 @@ You'll need to [install `kubebuilder`][kubebuilder].
6262

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

65+
### Cert-Manager
66+
67+
You'll need to deploy [cert-manager] components on your [management cluster][mcluster], using `kubectl`
68+
69+
```bash
70+
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.11.0/cert-manager.yaml
71+
```
72+
73+
Ensure the cert-manager webhook service is ready before creating the Cluster API components.
74+
75+
This can be done by running:
76+
77+
```bash
78+
kubectl wait --for=condition=Available --timeout=300s apiservice v1beta1.webhook.cert-manager.io
79+
```
80+
81+
[cert-manager]: https://github.com/jetstack/cert-manager
82+
6583
## Development
6684

6785
## Option 1: Tilt
@@ -115,7 +133,7 @@ and
115133

116134
```
117135
$EDITOR config/manager/manager_image_patch.yaml
118-
$EDITOR
136+
$EDITOR test/infrastructure/docker/config/default/manager_image_patch.yaml
119137
```
120138

121139
In both cases, change the `- image:` url to the digest URL mentioned above:
@@ -149,6 +167,7 @@ clusterrole.rbac.authorization.k8s.io/capi-manager-role configured
149167
rolebinding.rbac.authorization.k8s.io/capi-leader-election-rolebinding configured
150168
clusterrolebinding.rbac.authorization.k8s.io/capi-manager-rolebinding configured
151169
deployment.apps/capi-controller-manager created
170+
152171
$ kustomize build test/infrastructure/docker/config | kubectl apply -f -
153172
namespace/capd-system configured
154173
customresourcedefinition.apiextensions.k8s.io/dockerclusters.infrastructure.cluster.x-k8s.io configured

0 commit comments

Comments
 (0)