github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/testdata/generate/infra/fabrikate-jaeger/helm_repos/jaeger/charts/elasticsearch/ci/hooks-values.yaml (about) 1 --- 2 # Enable custom lifecycle hooks for client, data and master pods 3 4 client: 5 hooks: 6 preStop: |- 7 #!/bin/bash 8 echo "Node {{ template "elasticsearch.client.fullname" . }} is shutting down" 9 postStart: |- 10 #!/bin/bash 11 echo "Node {{ template "elasticsearch.client.fullname" . }} is ready to be used" 12 13 data: 14 hooks: 15 drain: 16 enabled: false 17 preStop: |- 18 #!/bin/bash 19 echo "Node {{ template "elasticsearch.data.fullname" . }} is shutting down" 20 postStart: |- 21 #!/bin/bash 22 echo "Node {{ template "elasticsearch.data.fullname" . }} is ready to be used" 23 24 master: 25 hooks: 26 preStop: |- 27 #!/bin/bash 28 echo "Node {{ template "elasticsearch.master.fullname" . }} is shutting down" 29 postStart: |- 30 #!/bin/bash 31 echo "Node {{ template "elasticsearch.master.fullname" . }} is ready to be used"