Remove identity provider list from LoginDiscoveryConfig CRD

Because we're not going to need it for the current story

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Ryan Richard 2020-07-29 13:17:55 -07:00 committed by Andrew Keesler
parent 7ba43e0c3f
commit a8f3c62d37

View File

@ -10,11 +10,6 @@
#! spec: #! spec:
#! server: https://foo #! server: https://foo
#! certificateAuthorityData: bar #! certificateAuthorityData: bar
#! identityProviders:
#! - name: baz
#! type: token
#! - name: bat
#! type: token
--- ---
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
@ -36,7 +31,7 @@ spec:
properties: properties:
spec: spec:
type: object type: object
required: [server, certificateAuthorityData, identityProviders] required: [server, certificateAuthorityData]
properties: properties:
server: server:
type: string type: string
@ -45,19 +40,6 @@ spec:
certificateAuthorityData: certificateAuthorityData:
type: string type: string
minLength: 1 minLength: 1
identityProviders:
type: array
items:
type: object
required: [name, type]
properties:
name:
type: string
minLength: 1
pattern: '^[a-zA-Z0-9]+(?:(-|_)?[a-zA-Z0-9]+)+$'
type: #! The name of this property is "type" (not declaring the type of a property).
type: string
pattern: '^token$'
scope: Namespaced scope: Namespaced
names: names:
plural: logindiscoveryconfigs plural: logindiscoveryconfigs