Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
release hive metastore 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Mar 8, 2021
1 parent 76bc335 commit 8faee4a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 26 deletions.
2 changes: 1 addition & 1 deletion charts/hive-metastore/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
version: 0.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/hive-metastore/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
<configuration>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:postgresql://{{ .Release.Name }}-postgres:5432/defaultdb</value>
<value>jdbc:postgresql://{{ .Release.Name }}-postgres:5432/metastore</value>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
Expand Down
12 changes: 12 additions & 0 deletions charts/hive-metastore/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ spec:
volumeMounts:
- name: hive-config
mountPath: /opt/hive/conf
initContainers:
- name: wait-for-postgresql
image: "{{ .Values.init.image.repository }}:{{ .Values.init.image.tag }}"
imagePullPolicy: {{ .Values.init.image.pullPolicy }}
command:
- sh
- -c
- |
until printf "." && nc -z -w 2 {{ .Release.Name }}-postgres {{ .Values.postgres.service.port }}; do
sleep 2;
done;
echo 'PostgreSQL OK ✓'
volumes:
- name: hive-config
configMap:
Expand Down
25 changes: 1 addition & 24 deletions charts/hive-metastore/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,13 @@ security:
postgresql:
version: "12"
username: postgres
dbname: defaultdb
dbname: metastore
password: changeme

postgis:
enabled: false
version: "3.1"

readiness:
enabled: "true"


init:
enabled: false
image: curimages/curl
command: ["curl"]
args: ["https://example.com/example.sql", "-o", "/data/dump.sql"]

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down Expand Up @@ -75,19 +65,6 @@ resources: {}
# cpu: 100m
# memory: 128Mi

persistence:
enabled: true
## database data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
accessMode: ReadWriteOnce
size: 10Gi
# existingClaim: ""

autoscaling:
enabled: false
Expand Down

0 comments on commit 8faee4a

Please sign in to comment.