etcd chart: anchor pre_stop remove bashism

The anchor pre-stop script uses the 'function' command, which fails when
using dash. This change removes it for compatibility.

Change-Id: I6591045fa0a555800a03edbdf1f9f3a8476dd0a3
This commit is contained in:
Phil Sphicas 2020-02-18 13:48:45 -08:00
parent 7c6043772b
commit ce3f4742aa
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
set -ex
function cleanup_host {
cleanup_host () {
rm -f $MANIFEST_PATH
rm -rf /etcd-etc/tls/
{{- if .Values.etcd.cleanup_data }}