Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph: make storage device config nullable #8552

Merged
merged 1 commit into from Aug 17, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions cluster/charts/rook-ceph/templates/resources.yaml
Expand Up @@ -1887,6 +1887,7 @@ spec:
config:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
fullpath:
Expand Down Expand Up @@ -1921,6 +1922,7 @@ spec:
config:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
fullpath:
Expand Down
2 changes: 2 additions & 0 deletions cluster/examples/kubernetes/ceph/crds.yaml
Expand Up @@ -1887,6 +1887,7 @@ spec:
config:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
fullpath:
Expand Down Expand Up @@ -1921,6 +1922,7 @@ spec:
config:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
fullpath:
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/ceph.rook.io/v1/types.go
Expand Up @@ -1936,6 +1936,7 @@ type Device struct {
// +optional
FullPath string `json:"fullpath,omitempty"`
// +kubebuilder:pruning:PreserveUnknownFields
// +nullable
// +optional
Config map[string]string `json:"config,omitempty"`
}
Expand Down