File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
tests/templates/kuttl/smoke Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,10 @@ pub enum Error {
77
77
#[ snafu( display( "failed to deserialize cluster definition" ) ) ]
78
78
DeserializeClusterDefinition {
79
79
// boxed because otherwise Clippy warns about a large enum variant
80
+ #[ snafu( source( from(
81
+ stackable_operator:: kube:: core:: error_boundary:: InvalidObject ,
82
+ Box :: new
83
+ ) ) ) ]
80
84
source : Box < stackable_operator:: kube:: core:: error_boundary:: InvalidObject > ,
81
85
} ,
82
86
@@ -232,7 +236,6 @@ pub async fn reconcile(
232
236
. 0
233
237
. as_ref ( )
234
238
. map_err ( stackable_operator:: kube:: core:: error_boundary:: InvalidObject :: clone)
235
- . map_err ( Box :: new)
236
239
. context ( DeserializeClusterDefinitionSnafu ) ?;
237
240
238
241
// dereference (client required)
Original file line number Diff line number Diff line change @@ -340,11 +340,17 @@ metadata:
340
340
app.kubernetes.io/version : 3.0.0
341
341
stackable.tech/vendor : Stackable
342
342
name : opensearch-nodes-cluster-manager
343
+ ownerReferences :
344
+ - apiVersion : opensearch.stackable.tech/v1alpha1
345
+ controller : true
346
+ kind : OpenSearchCluster
347
+ name : opensearch
343
348
data :
344
349
opensearch.yml : |-
345
350
cluster.name: "opensearch"
346
351
discovery.type: "zen"
347
352
network.host: "0.0.0.0"
353
+ node.store.allow_mmap: "false"
348
354
plugins.security.allow_default_init_securityindex: "true"
349
355
plugins.security.nodes_dn: ["CN=generated certificate for pod"]
350
356
plugins.security.ssl.http.enabled: "true"
@@ -368,11 +374,17 @@ metadata:
368
374
app.kubernetes.io/version : 3.0.0
369
375
stackable.tech/vendor : Stackable
370
376
name : opensearch-nodes-data
377
+ ownerReferences :
378
+ - apiVersion : opensearch.stackable.tech/v1alpha1
379
+ controller : true
380
+ kind : OpenSearchCluster
381
+ name : opensearch
371
382
data :
372
383
opensearch.yml : |-
373
384
cluster.name: "opensearch"
374
385
discovery.type: "zen"
375
386
network.host: "0.0.0.0"
387
+ node.store.allow_mmap: "false"
376
388
plugins.security.allow_default_init_securityindex: "true"
377
389
plugins.security.nodes_dn: ["CN=generated certificate for pod"]
378
390
plugins.security.ssl.http.enabled: "true"
Original file line number Diff line number Diff line change 53
53
configOverrides :
54
54
# TODO Add the required options to the operator
55
55
opensearch.yml :
56
+ # Disable memory mapping in this test; If memory mapping were activated, the kernel setting
57
+ # vm.max_map_count would have to be increased to 262144 on the node.
58
+ node.store.allow_mmap : " false"
56
59
# TODO Check that this is safe despite the warning in the documentation
57
60
plugins.security.allow_default_init_securityindex : " true"
58
61
plugins.security.ssl.transport.enabled : " true"
You can’t perform that action at this time.
0 commit comments