Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3382,14 +3382,8 @@ spec:
options.
properties:
options:
additionalProperties:
description: RawMessage is a raw encoded JSON value.
It implements Marshaler and Unmarshaler and can
be used to delay JSON decoding or precompute a JSON
encoding.
format: byte
type: string
type: object
x-kubernetes-preserve-unknown-fields: true
type:
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3374,14 +3374,8 @@ spec:
options.
properties:
options:
additionalProperties:
description: RawMessage is a raw encoded JSON value.
It implements Marshaler and Unmarshaler and can
be used to delay JSON decoding or precompute a JSON
encoding.
format: byte
type: string
type: object
x-kubernetes-preserve-unknown-fields: true
type:
type: string
type: object
Expand Down
5 changes: 4 additions & 1 deletion pkg/apis/m3dboperator/v1alpha1/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ type DownsampleOptions struct {

// ExtendedOptions stores the extended namespace options.
type ExtendedOptions struct {
Type string `json:"type,omitempty"`
Type string `json:"type,omitempty"`
// +kubebuilder:pruning:PreserveUnknownFields
// +kubebuilder:validation:Schemaless
// +kubebuilder:validation:Type=object
Options map[string]json.RawMessage `json:"options,omitempty"`
}

Expand Down