diff --git a/charts/hive-metastore/Chart.yaml b/charts/hive-metastore/Chart.yaml index 44752b4..253a443 100644 --- a/charts/hive-metastore/Chart.yaml +++ b/charts/hive-metastore/Chart.yaml @@ -3,7 +3,7 @@ name: hive-metastore description: |- Helm chart to deploy [hive-metastore](https://hive.apache.org/). type: application -version: 0.0.4 +version: 0.0.5 appVersion: 2.3.9-2.10.1 home: https://github.com/slamdev/helm-charts/tree/master/charts/hive-metastore icon: https://hive.apache.org/images/hive_logo_medium.jpg diff --git a/charts/hive-metastore/README.md b/charts/hive-metastore/README.md index 82391eb..31917cb 100644 --- a/charts/hive-metastore/README.md +++ b/charts/hive-metastore/README.md @@ -1,6 +1,6 @@ # hive-metastore -![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.9-2.10.1](https://img.shields.io/badge/AppVersion-2.3.9--2.10.1-informational?style=flat-square) +![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.9-2.10.1](https://img.shields.io/badge/AppVersion-2.3.9--2.10.1-informational?style=flat-square) Helm chart to deploy [hive-metastore](https://hive.apache.org/). @@ -30,6 +30,7 @@ Helm chart to deploy [hive-metastore](https://hive.apache.org/). | ingress.enabled | bool | `false` | enables Ingress for hive-metastore | | ingress.hosts | list | `[]` | ingress accepted hostnames | | ingress.tls | list | `[]` | ingress TLS configuration | +| initContainers | list | `[]` | additional init containers; env vars and volume mounts are the same as for the main container | | nameOverride | string | `""` | override name of the chart | | nodeSelector | object | `{}` | node for scheduler pod assignment | | podSecurityContext | object | `{}` | specifies security settings for a pod | diff --git a/charts/hive-metastore/templates/deployment.yaml b/charts/hive-metastore/templates/deployment.yaml index 0dec41c..9f3c162 100644 --- a/charts/hive-metastore/templates/deployment.yaml +++ b/charts/hive-metastore/templates/deployment.yaml @@ -25,6 +25,16 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: + {{- range .Values.initContainers }} + - {{- toYaml . | nindent 10 }} + {{- with $.Values.env }} + env: + {{- toYaml . | nindent 12 }} + {{- end }} + volumeMounts: + - name: hive-configs + mountPath: /opt/hive-configs + {{- end }} - name: expand-configs image: tempire/alpine-perl:3.14.0 command: diff --git a/charts/hive-metastore/values.yaml b/charts/hive-metastore/values.yaml index f492cb6..52402d8 100644 --- a/charts/hive-metastore/values.yaml +++ b/charts/hive-metastore/values.yaml @@ -93,6 +93,9 @@ env: [] # - name: HADOOP_CLIENT_OPTS # value: --add-opens java.base/java.net=ALL-UNNAMED -Dhive.root.logger=console +# initContainers -- additional init containers; env vars and volume mounts are the same as for the main container +initContainers: [] + hiveSiteXml: |