Skip to content

Commit e10691d

Browse files
amoralejopenshift-merge-bot[bot]
authored andcommitted
Make dbPurge optional
We are setting as optional and defining default values for the parameters on it, Schedule and PurgeAge but we missed setting the parent one as optional too.
1 parent ad26268 commit e10691d

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

api/bases/watcher.openstack.org_watchers.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,6 @@ spec:
924924
- applierContainerImageURL
925925
- applierServiceTemplate
926926
- databaseInstance
927-
- dbPurge
928927
- decisionengineContainerImageURL
929928
- decisionengineServiceTemplate
930929
- rabbitMqClusterName

api/v1beta1/common_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ type WatcherSpecCore struct {
125125
// manifest of several child resources.
126126
APIOverride Override `json:"apiOverride,omitempty"`
127127

128+
// +kubebuilder:validation:Optional
128129
// DBPurge defines the parameters for the Watcher DB purging cron job
129130
DBPurge WatcherDBPurge `json:"dbPurge"`
130131
}

config/crd/bases/watcher.openstack.org_watchers.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,6 @@ spec:
924924
- applierContainerImageURL
925925
- applierServiceTemplate
926926
- databaseInstance
927-
- dbPurge
928927
- decisionengineContainerImageURL
929928
- decisionengineServiceTemplate
930929
- rabbitMqClusterName

0 commit comments

Comments
 (0)