Skip to content

Commit

Permalink
[Fixes #227] Bug: defining postgres-operator.storageClass is not part…
Browse files Browse the repository at this point in the history
… of postgres-operator
  • Loading branch information
Marcel Wallschlaeger committed Feb 25, 2025
1 parent 49c70a5 commit 697a5ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions charts/geonode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
| geonode.resources.limits.memory | string | `"2Gi"` | limits memory as in resource.limits.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| geonode.resources.requests.cpu | int | `1` | requested cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| geonode.resources.requests.memory | string | `"1Gi"` | requested memory as in resource.requests.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| geonode.secret.bing.apiKey | string | `""` | |
| geonode.secret.django.secretKey | string | `"myv-y4#7j-d*p-__@j#*3z@!y24fz8%^z2v6atuy4bo9vqr1_a"` | |
| geonode.secret.existingSecretName | string | `""` | name of an existing Secret to use. Set, if you want to separately maintain the Secret. |
| geonode.secret.ldap.bind_password | string | `"password"` | ldap password |
| geonode.secret.mail.from | string | `"[email protected]"` | define from mail-addr |
Expand All @@ -122,8 +124,6 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
| geonode.secret.superUser.email | string | `"[email protected]"` | admin user password |
| geonode.secret.superUser.password | string | `"geonode"` | admin panel password |
| geonode.secret.superUser.username | string | `"admin"` | admin username |
| geonode.secret.bing.apiKey | string | `""` | API Key for Bing Maps. |
| geonode.secret.django.secretKey | string | `"!^gs*4^y81)#qt1n8!#3hzd221boe3_2x+s%t9buh#qwm)q)cb"` | Django SECRET_KEY setting. It is recommended to change it prior production use. |
| geonode.sentry.build_number | int | `0` | sentry build number |
| geonode.sentry.dsn | string | `""` | sentry dsn url |
| geonode.sentry.enabled | bool | `false` | enable sentry integration for geonode |
Expand Down Expand Up @@ -153,10 +153,11 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
| geoserver.extraPodEnv | string | `""` | Define this for extra GeoServer environment variables Format: extraPodEnv: | - name: KEY_1 value: "VALUE_1" - name: KEY_2 value: "VALUE_2" |
| geoserver.force_reinit | bool | `true` | set force reinit true so that changing passwords etc. in Values.yaml will take effect after restarting the pod this on the other hand will increase pod initializing time, only change if you know what you are doing |
| geoserver.image.name | string | `"geonode/geoserver"` | geoserver image docker image (default in zalf namespace because geonode one was not up to date) |
| geoserver.image.tag | string | `"2.24.4-v1"` | geoserver docker image tag |
| geoserver.image.tag | string | `"2.24.3-latest"` | geoserver docker image tag |
| geoserver.imagePullPolicy | string | `"IfNotPresent"` | geoserver image pull policy |
| geoserver.imagePullSecret | string | `""` | pull secret to use for geoserver image |
| geoserver.port | int | `8080` | geoserver port |
| geoserver.printing.extraHosts | string | `""` | |
| geoserver.resources.limits.cpu | int | `2` | limit cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| geoserver.resources.limits.memory | string | `"4Gi"` | limits memory as in resource.limits.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| geoserver.resources.requests.cpu | int | `1` | requested cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
Expand Down Expand Up @@ -192,7 +193,6 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
| postgres-operator.enabled | bool | `true` | enable postgres-operator (this or postgresql.enabled NOT both ) |
| postgres-operator.operatorApiUrl | string | `"http://{{ .Release.Name }}-postgres-operator:8080"` | ??? |
| postgres-operator.podServiceAccount | object | `{"name":""}` | not setting the podServiceAccount name will leed to generation of this name. This allows to run multiple postgres-operators in a single kubernetes cluster. just seperating them by namespace. |
| postgres-operator.storageClass | string | `nil` | postgress pv storageclass |
| postgres.external.hostname | string | `"my-external-postgres.com"` | |
| postgres.external.port | int | `5432` | |
| postgres.external.secret.existingSecretName | string | `""` | name of an existing Secret to use. Set, if you want to separately maintain the Secret. |
Expand All @@ -205,6 +205,7 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
| postgres.operator.numberOfInstances | int | `1` | number of database instances |
| postgres.operator.pod_name | string | `"postgresql"` | pod name for postgres containers == teamID for mainifest |
| postgres.operator.postgres_version | int | `15` | postgres version |
| postgres.operator.storageClass | string | `nil` | postgress pv storageclass |
| postgres.operator.storageSize | string | `"3Gi"` | Database storage size |
| postgres.schema | string | `"public"` | database schema |
| postgres.type | string | `"operator"` | type of used postgres: "operator" or "external". \ if external is used, host, port and password have to be set in postgres.external using values or external secret if operator is used, host port and passwords get set automatically using postgres-operator. If your Kubernetes cluster does not have a running postgres-operator, you can install the postgres-operator with postgres-operator.enabled = true |
Expand Down Expand Up @@ -242,4 +243,4 @@ Helm Chart for Geonode. Supported versions: Geonode: 4.4.0, Geoserver: 2.24.4-v1
| rabbitmq.requests.memory | string | `"1Gi"` | requested memory as in resource.requests.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
1 change: 1 addition & 0 deletions charts/geonode/templates/postgres/postgresql-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
teamId: {{ .Release.Name | quote }}
volume:
size: {{ .Values.postgres.operator.storageSize }}
storageClass: {{ .Values.postgres.operator.storageClass }}
numberOfInstances: {{ int .Values.postgres.operator.numberOfInstances }}
users:
{{ .Values.postgres.username }}:
Expand Down
4 changes: 2 additions & 2 deletions charts/geonode/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ postgres:
pod_name: postgresql
# -- Database storage size
storageSize: 3Gi
# -- postgress pv storageclass
storageClass:
# -- number of database instances
numberOfInstances: 1
# -- postgres version
Expand Down Expand Up @@ -707,8 +709,6 @@ postgres-operator:
configLoggingRestApi:
# -- REST API listener listens to this port
api_port: 8080
# -- postgress pv storageclass
storageClass:
# -- not setting the podServiceAccount name will leed to generation of this name. This allows to run multiple postgres-operators in a single kubernetes cluster. just seperating them by namespace.
podServiceAccount:
name: ""
Expand Down

0 comments on commit 697a5ab

Please sign in to comment.