refs #18278
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
terminationGracePeriodSeconds: 1
containers:
- name: {{ .Chart.Name }}
- image: "postgres:9.5"
+ image: "postgres:10"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: POSTGRES_HOST_AUTH_METHOD
subPath: create_dbs.sh
{{- if .Values.postgres.persistence.enabled }}
- name: postgres-storage
- mountPath: /var/lib/postgresql/data
+ mountPath: /var/lib/postgresql
{{- end }}
volumes:
- name: postgres-configmap
#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
set -e
DEBUG=$1
CLUSTER=`gcloud container clusters describe arvados --zone us-central1-a 2>/dev/null`
set -e
if [[ -z "$CLUSTER" ]]; then
- gcloud container clusters create arvados --zone us-central1-a --machine-type n1-standard-2 --cluster-version 1.15
+ gcloud container clusters create arvados --zone us-central1-a --machine-type n1-standard-2
fi
set +e