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
1 changed files with 1 additions and 19 deletions

View File

@ -10,11 +10,6 @@
#! spec:
#! server: https://foo
#! certificateAuthorityData: bar
#! identityProviders:
#! - name: baz
#! type: token
#! - name: bat
#! type: token
---
apiVersion: apiextensions.k8s.io/v1
@ -36,7 +31,7 @@ spec:
properties:
spec:
type: object
required: [server, certificateAuthorityData, identityProviders]
required: [server, certificateAuthorityData]
properties:
server:
type: string
@ -45,19 +40,6 @@ spec:
certificateAuthorityData:
type: string
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
names:
plural: logindiscoveryconfigs