fix ClusterOverride field
Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
@@ -47,6 +47,7 @@ spec:
|
||||
type: string
|
||||
value:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
|
||||
@@ -44,8 +44,9 @@ type GenericPlacement struct {
|
||||
}
|
||||
|
||||
type ClusterOverride struct {
|
||||
Op string `json:"op,omitempty"`
|
||||
Path string `json:"path"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Path string `json:"path"`
|
||||
// +kubebuilder:pruning:PreserveUnknownFields
|
||||
Value runtime.RawExtension `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user