Updated port num validation

This commit is contained in:
Mingchen Dai
2024-09-18 01:36:00 +00:00
parent 8f3902a8bf
commit 9e3fe2b00a
2 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ spec:
minimum: 30000
type: integer
servicePort:
minimum: 0
minimum: 1
type: integer
type: object
startingDeadlineSeconds:
@@ -72,7 +72,7 @@ spec:
type: string
type: array
containerPort:
minimum: 0
minimum: 1
type: integer
image:
type: string