@@ -60,16 +60,16 @@ spec:
6060 annotations:
6161 secrets.stackable.tech/scope: node,pod,service=opensearch-nodes-data2-headless
6262 envOverrides:
63- # TODO Make these the defaults in the image
63+ # Only required for the official image
64+ # The official image (built with https://github.com/opensearch-project/opensearch-build)
65+ # installs a demo configuration if not disabled explicitly.
6466 DISABLE_INSTALL_DEMO_CONFIG: "true"
6567 OPENSEARCH_HOME: {{ test_scenario['values'] ['opensearch_home'] }}
6668 configOverrides:
67- # TODO Add the required options to the operator
6869 opensearch.yml:
6970 # Disable memory mapping in this test; If memory mapping were activated, the kernel setting
7071 # vm.max_map_count would have to be increased to 262144 on the node.
7172 node.store.allow_mmap: "false"
72- # TODO Check that this is safe despite the warning in the documentation
7373 plugins.security.allow_default_init_securityindex: "true"
7474 plugins.security.ssl.transport.enabled: "true"
7575 plugins.security.ssl.transport.pemcert_filepath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls/tls.crt
7979 plugins.security.ssl.http.pemcert_filepath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls/tls.crt
8080 plugins.security.ssl.http.pemkey_filepath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls/tls.key
8181 plugins.security.ssl.http.pemtrustedcas_filepath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls/ca.crt
82- plugins.security.authcz.admin_dn: "CN=generated certificate for pod"
8382 podOverrides:
8483 spec:
8584 containers:
8988 mountPath: {{ test_scenario['values'] ['opensearch_home'] }}/config/opensearch-security
9089 readOnly: true
9190 - name: tls
92- # The Java policy allows reading from ${OPENSEARCH_HOME}/config.
9391 mountPath: {{ test_scenario['values'] ['opensearch_home'] }}/config/tls
9492 readOnly: true
95- securityContext:
96- fsGroup: 1000
9793 volumes:
9894 - name: security-config
9995 secret:
0 commit comments