Skip to content

Commit

Permalink
update pgsql version
Browse files Browse the repository at this point in the history
Signed-off-by: yxxhero <aiopsclub@163.com>
  • Loading branch information
yxxhero authored and bitsf committed Jun 3, 2022
1 parent 20b6c01 commit aabc2af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/customize-storage-db-redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.:
Expand Down

0 comments on commit aabc2af

Please sign in to comment.