Merge pull request #2646 from lixingchenDaoCloud/override-descriptions-wrong
The OverriderOperator description does not match the actual function
This commit is contained in:
commit
a0ca636508
|
@ -15253,7 +15253,7 @@
|
|||
],
|
||||
"properties": {
|
||||
"operator": {
|
||||
"description": "Operator indicates the operation on target field. Available operators are: add, update and remove.",
|
||||
"description": "Operator indicates the operation on target field. Available operators are: add, replace and remove.",
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
|
|
|
@ -241,7 +241,7 @@ spec:
|
|||
properties:
|
||||
operator:
|
||||
description: 'Operator indicates the operation on
|
||||
target field. Available operators are: add, update
|
||||
target field. Available operators are: add, replace
|
||||
and remove.'
|
||||
enum:
|
||||
- add
|
||||
|
@ -557,7 +557,7 @@ spec:
|
|||
properties:
|
||||
operator:
|
||||
description: 'Operator indicates the operation on target
|
||||
field. Available operators are: add, update and remove.'
|
||||
field. Available operators are: add, replace and remove.'
|
||||
enum:
|
||||
- add
|
||||
- remove
|
||||
|
|
|
@ -241,7 +241,7 @@ spec:
|
|||
properties:
|
||||
operator:
|
||||
description: 'Operator indicates the operation on
|
||||
target field. Available operators are: add, update
|
||||
target field. Available operators are: add, replace
|
||||
and remove.'
|
||||
enum:
|
||||
- add
|
||||
|
@ -557,7 +557,7 @@ spec:
|
|||
properties:
|
||||
operator:
|
||||
description: 'Operator indicates the operation on target
|
||||
field. Available operators are: add, update and remove.'
|
||||
field. Available operators are: add, replace and remove.'
|
||||
enum:
|
||||
- add
|
||||
- remove
|
||||
|
|
|
@ -218,7 +218,7 @@ type PlaintextOverrider struct {
|
|||
// Path indicates the path of target field
|
||||
Path string `json:"path"`
|
||||
// Operator indicates the operation on target field.
|
||||
// Available operators are: add, update and remove.
|
||||
// Available operators are: add, replace and remove.
|
||||
// +kubebuilder:validation:Enum=add;remove;replace
|
||||
Operator OverriderOperator `json:"operator"`
|
||||
// Value to be applied to target field.
|
||||
|
|
|
@ -2795,7 +2795,7 @@ func schema_pkg_apis_policy_v1alpha1_PlaintextOverrider(ref common.ReferenceCall
|
|||
},
|
||||
"operator": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Operator indicates the operation on target field. Available operators are: add, update and remove.",
|
||||
Description: "Operator indicates the operation on target field. Available operators are: add, replace and remove.",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
|
|
Loading…
Reference in New Issue