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 {
7777 #[ snafu( display( "failed to deserialize cluster definition" ) ) ]
7878 DeserializeClusterDefinition {
7979 // 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+ ) ) ) ]
8084 source : Box < stackable_operator:: kube:: core:: error_boundary:: InvalidObject > ,
8185 } ,
8286
@@ -232,7 +236,6 @@ pub async fn reconcile(
232236 . 0
233237 . as_ref ( )
234238 . map_err ( stackable_operator:: kube:: core:: error_boundary:: InvalidObject :: clone)
235- . map_err ( Box :: new)
236239 . context ( DeserializeClusterDefinitionSnafu ) ?;
237240
238241 // dereference (client required)
Original file line number Diff line number Diff line change @@ -340,11 +340,17 @@ metadata:
340340 app.kubernetes.io/version : 3.0.0
341341 stackable.tech/vendor : Stackable
342342 name : opensearch-nodes-cluster-manager
343+ ownerReferences :
344+ - apiVersion : opensearch.stackable.tech/v1alpha1
345+ controller : true
346+ kind : OpenSearchCluster
347+ name : opensearch
343348data :
344349 opensearch.yml : |-
345350 cluster.name: "opensearch"
346351 discovery.type: "zen"
347352 network.host: "0.0.0.0"
353+ node.store.allow_mmap: "false"
348354 plugins.security.allow_default_init_securityindex: "true"
349355 plugins.security.nodes_dn: ["CN=generated certificate for pod"]
350356 plugins.security.ssl.http.enabled: "true"
@@ -368,11 +374,17 @@ metadata:
368374 app.kubernetes.io/version : 3.0.0
369375 stackable.tech/vendor : Stackable
370376 name : opensearch-nodes-data
377+ ownerReferences :
378+ - apiVersion : opensearch.stackable.tech/v1alpha1
379+ controller : true
380+ kind : OpenSearchCluster
381+ name : opensearch
371382data :
372383 opensearch.yml : |-
373384 cluster.name: "opensearch"
374385 discovery.type: "zen"
375386 network.host: "0.0.0.0"
387+ node.store.allow_mmap: "false"
376388 plugins.security.allow_default_init_securityindex: "true"
377389 plugins.security.nodes_dn: ["CN=generated certificate for pod"]
378390 plugins.security.ssl.http.enabled: "true"
Original file line number Diff line number Diff line change 5353 configOverrides :
5454 # TODO Add the required options to the operator
5555 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"
5659 # TODO Check that this is safe despite the warning in the documentation
5760 plugins.security.allow_default_init_securityindex : " true"
5861 plugins.security.ssl.transport.enabled : " true"
You can’t perform that action at this time.
0 commit comments