updates
This commit is contained in:
@@ -184,6 +184,10 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"keyless": {
|
||||
"description": "Keyless configures keyless authentication.",
|
||||
"type": "object"
|
||||
},
|
||||
"ldap": {
|
||||
"description": "LDAP configures LDAP authentication.",
|
||||
"properties": {
|
||||
@@ -247,7 +251,7 @@
|
||||
"x-kubernetes-validations": [
|
||||
{
|
||||
"message": "exactly one authentication method must be specified",
|
||||
"rule": "[has(self.apiKey), has(self.jwt), has(self.ldap)].filter(x, x).size() == 1"
|
||||
"rule": "[has(self.apiKey), has(self.jwt), has(self.ldap), has(self.keyless)].filter(x, x).size() == 1"
|
||||
}
|
||||
],
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in New Issue
Block a user