Make service port mandatory in CRD v1alpha2

This commit is contained in:
stefanprodan
2018-12-26 13:55:34 +02:00
parent 199e3b36c6
commit 53546878d5
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -51,6 +51,7 @@ spec:
webhooks:
- name: integration-tests
url: http://podinfo.test:9898/echo
timeout: 5s
timeout: 1m
metadata:
test: "all"
test: "all"
token: "16688eb5e9f289f1991c"
+1 -1
View File
@@ -50,7 +50,7 @@ spec:
type: string
service:
type: object
required: ['number']
required: ['port']
properties:
port:
type: number
+1 -1
View File
@@ -51,7 +51,7 @@ spec:
type: string
service:
type: object
required: ['number']
required: ['port']
properties:
port:
type: number