docs: add API changes section to dev guide

This commit is contained in:
stefanprodan 2020-03-03 14:14:11 +02:00
parent a0a9b7d29a
commit f164eac58e
1 changed files with 16 additions and 0 deletions

View File

@ -98,6 +98,22 @@ Run unit tests:
make test
```
### API changes
If you made changes to `pkg/apis` regenerate the Kubernetes client sets with:
```bash
make codegen
```
Update the validation spec in `artifacts/flagger/crd.yaml` and run:
```bash
make crd
```
Note that any change to the CRDs must be accompanied by an update to the Open API schema.
### Manual testing
Install a service mesh and/or an ingress controller on your cluster and deploy Flagger