From aabc2af09569f5019ba7b093fa1b37c203b45c12 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Thu, 2 Jun 2022 20:35:13 +0800 Subject: [PATCH] update pgsql version Signed-off-by: yxxhero --- Makefile | 2 +- docs/installation/customize-storage-db-redis.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 94fde6216..25ed35999 100644 --- a/Makefile +++ b/Makefile @@ -436,7 +436,7 @@ redis: helm sample-redis .PHONY: postgresql postgresql: helm sample-database $(HELM) repo add bitnami https://charts.bitnami.com/bitnami - $(HELM) upgrade --install harbor-database bitnami/postgresql --version 10.3.17 \ + $(HELM) upgrade --install harbor-database bitnami/postgresql --version 10.14.3 \ --set-string initdbScriptsConfigMap=harbor-init-db \ --set-string existingSecret=harbor-database-password diff --git a/docs/installation/customize-storage-db-redis.md b/docs/installation/customize-storage-db-redis.md index 22e7bcb70..d8f692078 100644 --- a/docs/installation/customize-storage-db-redis.md +++ b/docs/installation/customize-storage-db-redis.md @@ -13,7 +13,7 @@ For customizing the storage spec, you can directly follow the [CRD spec](../CRD/ Harbor uses PostgreSQL as its database to store the related metadata. You can create a database instance from your cloud provider or pre-install a PostgreSQL on your resources. e.g.: ```shell -helm upgrade --install harbor-database bitnami/postgresql --version 10.3.17 --set-string initdbScriptsConfigMap=harbor-init-db --set-string postgresqlPassword=the-psql-password --set-string image.registry=ghcr.io --set-string image.repository=goharbor/postgresql +helm upgrade --install harbor-database bitnami/postgresql --version 10.14.3 --set-string initdbScriptsConfigMap=harbor-init-db --set-string postgresqlPassword=the-psql-password --set-string image.registry=ghcr.io --set-string image.repository=goharbor/postgresql ``` Here the `initdbScriptsConfigMap` is pointing to a `configMap` used to initialize the databases. e.g.: