Upgrade CRD to v1alpha2

- add required fields for deployment and hpa targets
- make service port mandatory
- add webhooks validation
This commit is contained in:
stefanprodan
2018-12-26 13:46:59 +02:00
parent 0d96bedfee
commit 199e3b36c6
11 changed files with 100 additions and 28 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ kubectl apply -f ${REPO}/artifacts/canaries/hpa.yaml
Create a canary custom resource \(replace example.com with your own domain\):
```yaml
apiVersion: flagger.app/v1alpha1
apiVersion: v1alpha2
kind: Canary
metadata:
name: podinfo