Charmed OpenSearch

Channel Revision Published Runs on
2/edge 90 08 May 2024
Ubuntu 22.04
juju deploy opensearch --channel 2/edge
Show information

Platform:

Ubuntu
22.04

charms.opensearch.v0.opensearch_config

Class for Setting configuration in opensearch config files.


class OpenSearchConfig

Description

This class covers the configuration changes depending on certain actions. None

Methods

OpenSearchConfig. __init__( self , opensearch: OpenSearchDistribution )

OpenSearchConfig. set_client_auth( self )

Description

Configure TLS and basic http for clients. None

OpenSearchConfig. set_admin_tls_conf( self , secrets )

Description

Configures the admin certificate. None

OpenSearchConfig. set_node_tls_conf( self , cert_type: CertType , secrets )

Description

Configures TLS for nodes. None

OpenSearchConfig. append_transport_node( self , ip_pattern_entries , append: bool )

Description

Set the IP address of the new unit in nodes_dn. None

OpenSearchConfig. set_node( self , app_name: str , model_name: str , unit_name: str , roles , cm_names , cm_ips )

Description

Set base config for each node in the cluster. None

OpenSearchConfig. cleanup_conf_if_bootstrapped( self )

Description

Remove some conf entries when the cluster is bootstrapped. None