You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8e6fafc
Browse filesBrowse the repository at this point in the historyBrowse files
!!! warning "Sensitive values on the command line"
266
+
Passing secrets via `-e` exposes them in shell history, process listings,
267
+
and `docker inspect` output. In production, use `--env-file` with a
268
+
permission-protected file or an external secrets manager to supply
269
+
`MY_OPENSEARCH_PASSWORD`.
270
+
222
271
### S3 Attachments storage configuration
223
272
Starting with Jira 9.9, you can configure Jira to [store attachment files in Amazon S3](https://confluence.atlassian.com/adminjiraserver/storing-attachments-in-amazon-s3-1282250191.html). For requirements and additional
224
273
information, please refer to [Configuring Amazon S3 Object Storage](https://confluence.atlassian.com/pages/viewpage.action?spaceKey=JSERVERM&title=.Configuring+Amazon+S3+object+storage+vJira_admin_9.9).
@@ -523,6 +572,85 @@ as a non-root user.
523
572
524
573
The default Tomcat session timeout (in minutes) for all newly created sessions which is set in web.xml. Defaults to 30.
525
574
575
+
### Custom `jira-config.properties`
576
+
577
+
Additional properties can be injected into `jira-config.properties` using
578
+
environment variables prefixed with `ADDITIONAL_JIRA_CONFIG_`.
579
+
580
+
Each variable's value must be a complete property line in `key=value` format.
581
+
Environment variable names are sorted for consistent file generation; order has
OpenSearch is supported in Jira 11.2 and Helm chart 2.0.10 onwards.
5
+
6
+
As Jira instances grow in size and scale, the default search engine, Lucene, may be slower to index and return search results. To address this, Jira Data Center offers an alternative search engine as an opt-in feature — OpenSearch.
7
+
8
+
## Deploy OpenSearch Helm Chart with Jira
9
+
10
+
!!!warning "Support disclaimer"
11
+
Atlassian does not officially support OpenSearch Helm chart that can be installed with the Jira Helm release. Should you encounter any issues with the deployment, maintenance and upgrades, reach out to the [vendor](https://github.com/opensearch-project/helm-charts/tree/main/charts/opensearch){.external}.
12
+
Moreover, if you intend to deploy OpenSearch to a critical Kubernetes environment, make sure you follow all the best practices, i.e. deploy a multi node cluster, use taints and tolerations, affinity rules, sufficient resources requests, have DR and backup strategies etc.
13
+
14
+
## Deploy with the default settings
15
+
16
+
To deploy OpenSearch Helm chart and automatically configure Jira to use it as a search platform, set the following in your Helm values file:
17
+
18
+
```yaml
19
+
opensearch:
20
+
enabled: true
21
+
```
22
+
This will:
23
+
24
+
* auto-generate the initial OpenSearch admin password and create a Kubernetes secret with `OPENSEARCH_INITIAL_ADMIN_PASSWORD` key
25
+
* deploy [OpenSearch Helm chart](https://github.com/opensearch-project/helm-charts/tree/main/charts/opensearch){.external} to the target namespace with the default settings: single node, 1Gi memory/1 vCPU resources requests, 10Gi storage request
26
+
* configure Jira to use the deployed OpenSearch cluster by setting opensearch properties, which are written to `jira-config.properties` at startup. The following properties are configured: `search.platform=opensearch`, `opensearch.http.url=http://opensearch-cluster-master:9200`, `opensearch.username=admin`, and `opensearch.password`.
27
+
28
+
## Override OpenSearch Helm chart values
29
+
30
+
You can configure your OpenSearch cluster and the deployment options by overriding any values that the [Helm chart](https://github.com/opensearch-project/helm-charts/blob/main/charts/opensearch/values.yaml){.external} exposes. OpenSearch values must be nested under `opensearch` stanza in your Helm values file, for example:
31
+
32
+
```yaml
33
+
opensearch:
34
+
singleNode: false
35
+
replicas: 5
36
+
config:
37
+
opensearch.yml: |
38
+
cluster.name: opensearch-cluster
39
+
```
40
+
41
+
## Use an existing OpenSearch secret
42
+
43
+
If you have a pre-created Kubernetes secret with the OpenSearch admin password, you can reference it instead of having the chart auto-generate one:
44
+
45
+
```yaml
46
+
opensearch:
47
+
enabled: true
48
+
credentials:
49
+
createSecret: false
50
+
existingSecretRef:
51
+
name: my-opensearch-secret
52
+
```
53
+
54
+
The secret must contain a key named `OPENSEARCH_INITIAL_ADMIN_PASSWORD`.
55
+
56
+
## Connect to an external OpenSearch instance
57
+
58
+
If you already have an OpenSearch cluster running outside of Kubernetes (or
59
+
managed separately), you can configure Jira to use it without deploying the
60
+
bundled OpenSearch Helm chart. OpenSearch properties are written to
61
+
`jira-config.properties`at container startup via the
0 commit comments