openstack-helm-infra/elasticsearch/templates/bin/_curator.sh.tpl
Ritchie, Frank (fr801x) e36b5d6dab Make curator path configurable
Some es curator images do not use /usr/bin/curator for the executable. This PS
makes the path configurable via values.yaml.

Change-Id: I640e0f4928683810ef0b4a6d4dbac9bdf865aa2a
2023-12-05 17:11:15 -05:00

19 lines
656 B
Smarty

#!/bin/sh
{{/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/}}
set -ex
exec {{ .Values.conf.curator.executable }} --config /etc/config/config.yml /etc/config/action_file.yml