opensearch: alter path after using rpm/deb packaging
opensearch-dashboards now use a dedicated user Depends-On: https://review.opendev.org/c/openstack/kolla/+/883941 Change-Id: I6908f52f824a97a5a4a2bead92b7b2e5cdebdb9f
This commit is contained in:
parent
f849403a92
commit
1769a49115
@ -1,22 +1,22 @@
|
|||||||
{
|
{
|
||||||
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
|
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch-dashboards/opensearch_dashboards.yml",
|
||||||
"config_files": [
|
"config_files": [
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
|
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
|
||||||
"dest": "/etc/opensearch/opensearch_dashboards.yml",
|
"dest": "/etc/opensearch-dashboards/opensearch_dashboards.yml",
|
||||||
"owner": "opensearch",
|
"owner": "opensearch-dashboards",
|
||||||
"perm": "0640"
|
"perm": "0640"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
{
|
{
|
||||||
"path": "/var/log/kolla/opensearch",
|
"path": "/var/log/kolla/opensearch-dashboards",
|
||||||
"owner": "opensearch:opensearch",
|
"owner": "opensearch-dashboards:opensearch-dashboards",
|
||||||
"recurse": true
|
"recurse": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
|
"path": "/usr/share/opensearch-dashboards/optimize/bundles",
|
||||||
"owner": "opensearch:opensearch",
|
"owner": "opensearch-dashboards:opensearch-dashboards",
|
||||||
"recurse": true
|
"recurse": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"config_files": [
|
"config_files": [
|
||||||
{
|
{
|
||||||
"source": "{{ container_config_directory }}/opensearch.yml",
|
"source": "{{ container_config_directory }}/opensearch.yml",
|
||||||
"dest": "/usr/share/opensearch/config/opensearch.yml",
|
"dest": "/etc/opensearch/opensearch.yml",
|
||||||
"owner": "opensearch",
|
"owner": "opensearch",
|
||||||
"perm": "0600"
|
"perm": "0600"
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
opensearchDashboards.defaultAppId: "{{ opensearch_dashboards_default_app_id }}"
|
opensearchDashboards.defaultAppId: "{{ opensearch_dashboards_default_app_id }}"
|
||||||
logging.dest: /var/log/kolla/opensearch/opensearch-dashboards.log
|
logging.dest: /var/log/kolla/opensearch-dashboards/opensearch-dashboards.log
|
||||||
server.port: {{ opensearch_dashboards_port }}
|
server.port: {{ opensearch_dashboards_port }}
|
||||||
server.host: "{{ api_interface_address }}"
|
server.host: "{{ api_interface_address }}"
|
||||||
opensearch.hosts: "{{ opensearch_internal_endpoint }}"
|
opensearch.hosts: "{{ opensearch_internal_endpoint }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user