Commit 6753a0c6 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Merge branch 'postgresql-update' into 'master'

Postgresql update

Closes #237

See merge request !93
parents 03f72d2c 30a2fc62
......@@ -4,8 +4,9 @@ services:
- docker:18-dind
variables:
POSTGRESQL_VERSION: "10.15.0"
CHART_VERSION: "10.2.1"
POSTGRESQL_VERSION: "14.1"
POSTGRESQL_VERSION_HELM: "${POSTGRESQL_VERSION}.0"
CHART_VERSION: "11.0.6"
build:
stage: build
......@@ -20,7 +21,7 @@ build:
LC_COLLATE: POSIX
services:
- docker:18-dind
- name: postgres:10.1
- name: postgres:${POSTGRESQL_VERSION}
alias: db-test
script:
- if [ $CI_COMMIT_REF_SLUG == "master" ]; then export RUN_TEST="1"; fi
......@@ -102,15 +103,15 @@ build:
- envsubst < k8s/config-map.yaml | kubectl apply -n $NAMESPACE -f -
- >
helm upgrade --install db${STORAGE_SUFFIX} bitnami/postgresql --version $CHART_VERSION --namespace=$NAMESPACE
--set image.tag=$POSTGRESQL_VERSION
--set image.tag=$POSTGRESQL_VERSION_HELM
--set persistence.storageClass='isilon'
--set persistence.enabled=true
--set persistence.size="6Gi"
--set image.pullPolicy='Always'
--set postgresqlUsername='postgres'
--set postgresqlPostgresPassword="$POSTGRES_PASSWORD"
--set postgresqlPassword="$POSTGRES_PASSWORD"
--set postgresqlDatabase='viralhostrangedb'
--set auth.username='postgres'
--set auth.postgresPassword=${POSTGRES_PASSWORD}
--set auth.password=${POSTGRES_PASSWORD}
--set auth.database='viralhostrangedb'
--set primary.podLabels.branch=branch${STORAGE_SUFFIX}
--set primary.podLabels.app=postgres-app
--set fullnameOverride="db${STORAGE_SUFFIX}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment