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": {
|
"properties": {
|
||||||
"operator": {
|
"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",
|
"type": "string",
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
|
|
|
@ -241,7 +241,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
operator:
|
operator:
|
||||||
description: 'Operator indicates the operation on
|
description: 'Operator indicates the operation on
|
||||||
target field. Available operators are: add, update
|
target field. Available operators are: add, replace
|
||||||
and remove.'
|
and remove.'
|
||||||
enum:
|
enum:
|
||||||
- add
|
- add
|
||||||
|
@ -557,7 +557,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
operator:
|
operator:
|
||||||
description: 'Operator indicates the operation on target
|
description: 'Operator indicates the operation on target
|
||||||
field. Available operators are: add, update and remove.'
|
field. Available operators are: add, replace and remove.'
|
||||||
enum:
|
enum:
|
||||||
- add
|
- add
|
||||||
- remove
|
- remove
|
||||||
|
|
|
@ -241,7 +241,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
operator:
|
operator:
|
||||||
description: 'Operator indicates the operation on
|
description: 'Operator indicates the operation on
|
||||||
target field. Available operators are: add, update
|
target field. Available operators are: add, replace
|
||||||
and remove.'
|
and remove.'
|
||||||
enum:
|
enum:
|
||||||
- add
|
- add
|
||||||
|
@ -557,7 +557,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
operator:
|
operator:
|
||||||
description: 'Operator indicates the operation on target
|
description: 'Operator indicates the operation on target
|
||||||
field. Available operators are: add, update and remove.'
|
field. Available operators are: add, replace and remove.'
|
||||||
enum:
|
enum:
|
||||||
- add
|
- add
|
||||||
- remove
|
- remove
|
||||||
|
|
|
@ -218,7 +218,7 @@ type PlaintextOverrider struct {
|
||||||
// Path indicates the path of target field
|
// Path indicates the path of target field
|
||||||
Path string `json:"path"`
|
Path string `json:"path"`
|
||||||
// Operator indicates the operation on target field.
|
// 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
|
// +kubebuilder:validation:Enum=add;remove;replace
|
||||||
Operator OverriderOperator `json:"operator"`
|
Operator OverriderOperator `json:"operator"`
|
||||||
// Value to be applied to target field.
|
// Value to be applied to target field.
|
||||||
|
|
|
@ -2795,7 +2795,7 @@ func schema_pkg_apis_policy_v1alpha1_PlaintextOverrider(ref common.ReferenceCall
|
||||||
},
|
},
|
||||||
"operator": {
|
"operator": {
|
||||||
SchemaProps: spec.SchemaProps{
|
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: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
|
|
Loading…
Reference in New Issue