From b82543a2485c452c88ad058c2fbdb515c3e568c8 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sat, 13 Jan 2024 00:21:25 +0100 Subject: [PATCH] chore(postgresql): update values --- postgresql/Chart.yaml | 5 +++++ postgresql/README.adoc | 25 +++++++++++++++++++++++++ postgresql/values.yaml | 35 ++++++++++++++++------------------- publish.sh | 2 -- 4 files changed, 46 insertions(+), 21 deletions(-) diff --git a/postgresql/Chart.yaml b/postgresql/Chart.yaml index 2c8abf1..3025da1 100644 --- a/postgresql/Chart.yaml +++ b/postgresql/Chart.yaml @@ -5,6 +5,11 @@ description: "A Helm chart for running PostgreSQL (Postgres) database" type: "application" version: "0.1.3" appVersion: "16.1-alpine3.18" +icon: https://wiki.postgresql.org/images/a/a4/PostgreSQL_logo.3colors.svg +maintainers: + - name: WrenIX + url: https://wrenix.eu + keywords: - "postgresql" diff --git a/postgresql/README.adoc b/postgresql/README.adoc index f28a341..c942afc 100644 --- a/postgresql/README.adoc +++ b/postgresql/README.adoc @@ -5,6 +5,16 @@ image::https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square[Version: 0.1.3] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/AppVersion-16.1-alpine3.18-informational?style=flat-square[AppVersion: 16.1-alpine3.18] +== Maintainers + +.Maintainers +|=== +| Name | Email | Url + +| WrenIX +| +| +|=== == Usage @@ -127,11 +137,26 @@ helm uninstall postgresql-release | `true` | +| persistence.existingClaim +| string +| `nil` +| A manually managed Persistent Volume and Claim Requires persistence.enabled: true If defined, PVC must be created manually before volume will be bound + +| persistence.hostPath +| string +| `nil` +| Do not create an PVC, direct use hostPath in Pod + | persistence.size | string | `"1Gi"` | +| persistence.storageClass +| string +| `nil` +| Persistent Volume Storage Class If defined, storageClassName: 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) + | podAnnotations | object | `{}` diff --git a/postgresql/values.yaml b/postgresql/values.yaml index 7402711..a7fb84c 100644 --- a/postgresql/values.yaml +++ b/postgresql/values.yaml @@ -58,28 +58,26 @@ tolerations: [] affinity: {} -## Enable persistence using Persistent Volume Claims -## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ -## +# Enable persistence using Persistent Volume Claims +# ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ persistence: enabled: true annotations: {} - ## Persistent Volume Storage Class - ## If defined, storageClassName: - ## 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: "-" + # -- Persistent Volume Storage Class + # If defined, storageClassName: + # 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: - ## A manually managed Persistent Volume and Claim - ## Requires persistence.enabled: true - ## If defined, PVC must be created manually before volume will be bound - # existingClaim: + # -- A manually managed Persistent Volume and Claim + # Requires persistence.enabled: true + # If defined, PVC must be created manually before volume will be bound + existingClaim: - ## Do not create an PVC, direct use hostPath in Pod - # hostPath: + # -- Do not create an PVC, direct use hostPath in Pod + hostPath: accessMode: ReadWriteOnce size: 1Gi @@ -103,6 +101,7 @@ job: annotations: "helm.sh/hook": "post-install,post-upgrade" "helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded" + # -- Bootstrap users into postgresql server. When users already exists, they will stay untouched. # # users: @@ -116,5 +115,3 @@ job: # owner: "existing_user_which_will_get_grant" # additionalParams: "" # Optional databases: {} - - diff --git a/publish.sh b/publish.sh index c5e703f..517bc88 100755 --- a/publish.sh +++ b/publish.sh @@ -21,8 +21,6 @@ for p in * ; do [ $p == "jellyfin" ] || \ [ $p == "monitoring" ] || \ [ $p == "ntfy" ] || \ - [ $p == "postgresql" ] || \ - [ $p == "stalwart" ] || \ [ ! -d $p ] || \ [ ! -f $p/Chart.yaml ] \ ; then