<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=OpenSearch_2</id>
	<title>OpenSearch 2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=OpenSearch_2"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=OpenSearch_2&amp;action=history"/>
	<updated>2026-04-19T15:57:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=OpenSearch_2&amp;diff=5553&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;Here's a **Helm install command** for OpenSearch with **LDAP authentication enabled** and **TLS for HTTP enabled**, using the official [OpenSearch Helm chart](https://github.c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=OpenSearch_2&amp;diff=5553&amp;oldid=prev"/>
		<updated>2025-06-03T17:27:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Here&amp;#039;s a **Helm install command** for OpenSearch with **LDAP authentication enabled** and **TLS for HTTP enabled**, using the official [OpenSearch Helm chart](https://github.c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here's a **Helm install command** for OpenSearch with **LDAP authentication enabled** and **TLS for HTTP enabled**, using the official [OpenSearch Helm chart](https://github.com/opensearch-project/helm-charts).&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### ✅ Prerequisites&lt;br /&gt;
&lt;br /&gt;
1. Create a `values.yaml` file with your custom settings:&lt;br /&gt;
&lt;br /&gt;
   * TLS certificates for HTTP&lt;br /&gt;
   * LDAP configuration&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### 📄 Example `values.yaml`&lt;br /&gt;
&lt;br /&gt;
```yaml&lt;br /&gt;
# Enable HTTP TLS&lt;br /&gt;
opensearch:&lt;br /&gt;
  security:&lt;br /&gt;
    config:&lt;br /&gt;
      opensearch_security.ssl.http.enabled: true&lt;br /&gt;
      opensearch_security.ssl.http.pemcert_filepath: http.pem&lt;br /&gt;
      opensearch_security.ssl.http.pemkey_filepath: http-key.pem&lt;br /&gt;
      opensearch_security.ssl.http.pemtrustedcas_filepath: root-ca.pem&lt;br /&gt;
      opensearch_security.ssl.http.clientauth_mode: OPTIONAL&lt;br /&gt;
&lt;br /&gt;
    # Enable LDAP authentication&lt;br /&gt;
    config.data:&lt;br /&gt;
      opensearch_security.authc:&lt;br /&gt;
        ldap_auth_domain:&lt;br /&gt;
          http_enabled: true&lt;br /&gt;
          transport_enabled: true&lt;br /&gt;
          order: 1&lt;br /&gt;
          http_authenticator:&lt;br /&gt;
            type: basic&lt;br /&gt;
            challenge: true&lt;br /&gt;
          authentication_backend:&lt;br /&gt;
            type: ldap&lt;br /&gt;
            config:&lt;br /&gt;
              enable_ssl: true&lt;br /&gt;
              verify_hostnames: false&lt;br /&gt;
              hosts:&lt;br /&gt;
                - &amp;quot;ldap.yourdomain.com:636&amp;quot;&lt;br /&gt;
              bind_dn: &amp;quot;cn=admin,dc=example,dc=com&amp;quot;&lt;br /&gt;
              password: &amp;quot;your_ldap_password&amp;quot;&lt;br /&gt;
              userbase: &amp;quot;ou=users,dc=example,dc=com&amp;quot;&lt;br /&gt;
              usersearch: &amp;quot;(uid={0})&amp;quot;&lt;br /&gt;
              username_attribute: &amp;quot;uid&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Mount your custom certs and config&lt;br /&gt;
volumeMounts:&lt;br /&gt;
  - name: certs&lt;br /&gt;
    mountPath: /usr/share/opensearch/config/certs&lt;br /&gt;
&lt;br /&gt;
volumes:&lt;br /&gt;
  - name: certs&lt;br /&gt;
    secret:&lt;br /&gt;
      secretName: opensearch-certs&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### 🔐 Create the secret for TLS certs&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
kubectl create secret generic opensearch-certs \&lt;br /&gt;
  --from-file=http.pem=./http.pem \&lt;br /&gt;
  --from-file=http-key.pem=./http-key.pem \&lt;br /&gt;
  --from-file=root-ca.pem=./root-ca.pem&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### 🚀 Install OpenSearch with Helm&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
helm repo add opensearch https://opensearch-project.github.io/helm-charts/&lt;br /&gt;
helm repo update&lt;br /&gt;
&lt;br /&gt;
helm install my-opensearch opensearch/opensearch -f values.yaml&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### ✅ Verify&lt;br /&gt;
&lt;br /&gt;
Check the logs of the OpenSearch pod:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
kubectl logs -l app.kubernetes.io/name=opensearch&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
Let me know if you want:&lt;br /&gt;
&lt;br /&gt;
* to use self-signed cert generation&lt;br /&gt;
* to configure Kibana (OpenSearch Dashboards)&lt;br /&gt;
* a working minimal `values.yaml` without certs for quick testing&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>