File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ type MongoDBCommunitySpec struct {
132
132
// MemberConfig
133
133
// +optional
134
134
MemberConfig []automationconfig.MemberOptions `json:"memberConfig,omitempty"`
135
+
136
+ // +optional
137
+ CombineDataAndLogsVolumes bool `json:"combineDataAndLogsVolumes,omitempty"`
135
138
}
136
139
137
140
// MapWrapper is a wrapper for a map to be used by other structs.
@@ -1152,7 +1155,7 @@ func (m *MongoDBCommunity) getLastVersion() string {
1152
1155
}
1153
1156
1154
1157
func (m * MongoDBCommunity ) HasSeparateDataAndLogsVolumes () bool {
1155
- return true
1158
+ return ! m . Spec . CombineDataAndLogsVolumes
1156
1159
}
1157
1160
1158
1161
func (m * MongoDBCommunity ) GetAnnotations () map [string ]string {
Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ spec:
183
183
required :
184
184
- processes
185
185
type : object
186
+ combineDataAndLogsVolumes :
187
+ type : boolean
186
188
featureCompatibilityVersion :
187
189
description : FeatureCompatibilityVersion configures the feature compatibility
188
190
version that will be set for the deployment
You can’t perform that action at this time.
0 commit comments