Skip to content

Commit

Permalink
Make And Tags not required in CRD (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolancon authored Jan 24, 2024
1 parent 1b82345 commit e9ec171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apis/provider-ceph/v1alpha1/lifecycleconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ type LifecycleRuleAndOperator struct {

// All of these tags must exist in the object's tag set in order for the rule
// to apply.
Tags []Tag `json:"tags"`
// +optional
Tags []Tag `json:"tags,omitempty"`

// Minimum object size to which the rule applies.
// +optional
Expand Down
2 changes: 0 additions & 2 deletions package/crds/provider-ceph.ceph.crossplane.io_buckets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ spec:
- value
type: object
type: array
required:
- tags
type: object
objectSizeGreaterThan:
description: Minimum object size to which the rule
Expand Down

0 comments on commit e9ec171

Please sign in to comment.