diff --git a/charts/zeppelin/Chart.yaml b/charts/zeppelin/Chart.yaml index fb17161..ca52b13 100644 --- a/charts/zeppelin/Chart.yaml +++ b/charts/zeppelin/Chart.yaml @@ -3,7 +3,7 @@ name: zeppelin description: |- Helm chart to deploy [zeppelin](http://zeppelin.apache.org/). type: application -version: 0.0.7 +version: 0.0.8 appVersion: "0.9.0" home: https://github.com/slamdev/helm-charts/tree/master/charts/zeppelin icon: https://zeppelin.apache.org/docs/latest/assets/themes/zeppelin/img/zeppelin_logo.png diff --git a/charts/zeppelin/README.md b/charts/zeppelin/README.md index fe9108c..7ea4be9 100644 --- a/charts/zeppelin/README.md +++ b/charts/zeppelin/README.md @@ -2,7 +2,7 @@ zeppelin ======== Helm chart to deploy [zeppelin](http://zeppelin.apache.org/). -Current chart version is `0.0.7` +Current chart version is `0.0.8` Source code can be found [here](https://github.com/slamdev/helm-charts/tree/master/charts/zeppelin) @@ -29,9 +29,6 @@ Source code can be found [here](https://github.com/slamdev/helm-charts/tree/mast | nodeSelector | object | `{}` | node for scheduler pod assignment | | podSecurityContext | object | `{}` | specifies security settings for a pod | | postStart | string | `"echo 'additional dependencies can be installed here'"` | script that is executed via container's lifecycle.postStart hook | -| postStartCommand[0] | string | `"ls"` | | -| postStartCommand[1] | string | `"-la"` | | -| postStartCommand[2] | string | `"/"` | | | readinessProbe.httpGet.path | string | `"/api/version"` | path for readiness probe | | readinessProbe.httpGet.port | string | `"http"` | port for readiness probe | | resources | object | `{}` | custom resource configuration | diff --git a/charts/zeppelin/templates/deployment.yaml b/charts/zeppelin/templates/deployment.yaml index 8c16882..eefe7c5 100644 --- a/charts/zeppelin/templates/deployment.yaml +++ b/charts/zeppelin/templates/deployment.yaml @@ -48,10 +48,7 @@ spec: lifecycle: postStart: exec: - command: - {{- with .Values.postStartCommand }} - {{- toYaml . | nindent 18 }} - {{- end }} + command: ["sh", "-c", "/postStart.sh > /tmp/postStart.log"] env: - name: ZEPPELIN_PORT value: "8080" diff --git a/charts/zeppelin/values.yaml b/charts/zeppelin/values.yaml index d13fd1d..3b41005 100644 --- a/charts/zeppelin/values.yaml +++ b/charts/zeppelin/values.yaml @@ -104,11 +104,6 @@ env: [] # - name: SAMPLE # value: text -postStartCommand: - - ls - - -la - - / - # postStart -- script that is executed via container's lifecycle.postStart hook postStart: |- echo 'additional dependencies can be installed here'