Update a CRD validation
- Allow both http and https because a user using `kubectl proxy` would want to use http, since the proxy upgrades requests from http to https
This commit is contained in:
parent
d8d49be5d9
commit
29654c39a5
@ -36,7 +36,7 @@ spec:
|
|||||||
server:
|
server:
|
||||||
type: string
|
type: string
|
||||||
minLength: 1
|
minLength: 1
|
||||||
pattern: '^https://'
|
pattern: '^https://|^http://'
|
||||||
certificateAuthorityData:
|
certificateAuthorityData:
|
||||||
type: string
|
type: string
|
||||||
minLength: 1
|
minLength: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user