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:
Ryan Richard 2020-08-17 16:29:21 -07:00
parent d8d49be5d9
commit 29654c39a5

View File

@ -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