update docs and CRD validation

This commit is contained in:
Felix Kunde
2020-08-05 10:25:07 +02:00
parent e85c21af61
commit ac79faae58
4 changed files with 44 additions and 24 deletions
+4 -4
View File
@@ -916,18 +916,18 @@ var OperatorConfigCRDResourceValidation = apiextv1beta1.CustomResourceValidation
Items: &apiextv1beta1.JSONSchemaPropsOrArray{
Schema: &apiextv1beta1.JSONSchemaProps{
Type: "object",
Required: []string{"secretname"},
Required: []string{"secretname", "userkey", "passwordkey"},
Properties: map[string]apiextv1beta1.JSONSchemaProps{
"secretname": {
Type: "string",
},
"name": {
"userkey": {
Type: "string",
},
"password": {
"passwordkey": {
Type: "string",
},
"role": {
"rolekey": {
Type: "string",
},
"details": {