[bitnami/postgresql] Ldap postgresql (#10528)

* Amend ldap.tls value

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Bump version

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/postgresql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Fran Mulero
2022-06-02 12:30:47 +02:00
committed by GitHub
co-authored by Bitnami Containers
parent 19baeeda30
commit af0ded6edf
6 changed files with 24 additions and 11 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.14.1
digest: sha256:aeff42721b615c0387050b4bf03321c1a70b709501de3cd9b5a40c0ca47f81a9
generated: "2022-05-21T18:02:22.807654275Z"
version: 1.15.1
digest: sha256:ad35529dee1f9f6e56097268a3c4fe0f881284b41a70793cdd44d29a98bea1e9
generated: "2022-06-02T08:47:19.624587864Z"
+1 -1
View File
@@ -26,4 +26,4 @@ name: postgresql
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 11.6.1
version: 11.6.2
+1 -1
View File
@@ -141,7 +141,7 @@ kubectl delete pvc -l release=my-release
| `ldap.searchAttribute` | Attribute to match against the user name in the search | `""` |
| `ldap.searchFilter` | The search filter to use when doing search+bind authentication | `""` |
| `ldap.scheme` | Set to `ldaps` to use LDAPS | `""` |
| `ldap.tls` | Set to `1` to use TLS encryption | `""` |
| `ldap.tls.enabled` | Se to true to enable TLS encryption | `false` |
| `ldap.uri` | LDAP URL beginning in the form `ldap[s]://host[:port]/basedn`. If provided, all the other LDAP parameters will be ignored. | `""` |
| `postgresqlDataDir` | PostgreSQL data dir folder | `/bitnami/postgresql/data` |
| `postgresqlSharedPreloadLibraries` | Shared preload libraries (comma-separated list) | `pgaudit` |
+11
View File
@@ -252,6 +252,17 @@ Get the initialization scripts ConfigMap name.
{{- end -}}
{{- end -}}
{/*
Return true if TLS is enabled for LDAP connection
*/}}
{{- define "postgresql.ldap.tls.enabled" -}}
{{- if and (kindIs "string" .Values.ldap.tls) (not (empty .Values.ldap.tls)) }}
{{- true -}}
{{- else if and (kindIs "map" .Values.ldap.tls) .Values.ldap.tls.enabled }}
{{- true -}}
{{- end -}}
{{- end -}}
{{/*
Get the readiness probe command
*/}}
@@ -299,7 +299,7 @@ spec:
value: {{ .Values.ldap.port | quote }}
- name: POSTGRESQL_LDAP_SCHEME
value: {{ .Values.ldap.scheme }}
{{- if .Values.ldap.tls }}
{{- if (include "postgresql.ldap.tls.enabled" .) }}
- name: POSTGRESQL_LDAP_TLS
value: "1"
{{- end }}
+7 -5
View File
@@ -94,7 +94,7 @@ diagnosticMode:
image:
registry: docker.io
repository: bitnami/postgresql
tag: 14.3.0-debian-10-r17
tag: 14.3.0-debian-10-r20
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -210,7 +210,8 @@ audit:
## @param ldap.searchAttribute Attribute to match against the user name in the search
## @param ldap.searchFilter The search filter to use when doing search+bind authentication
## @param ldap.scheme Set to `ldaps` to use LDAPS
## @param ldap.tls Set to `1` to use TLS encryption
## DEPRECATED ldap.tls as string is deprecatedplease use 'ldap.tls.enabled' instead
## @param ldap.tls.enabled Se to true to enable TLS encryption
##
ldap:
enabled: false
@@ -224,7 +225,8 @@ ldap:
searchAttribute: ""
searchFilter: ""
scheme: ""
tls: ""
tls:
enabled: false
## @param ldap.uri LDAP URL beginning in the form `ldap[s]://host[:port]/basedn`. If provided, all the other LDAP parameters will be ignored.
## Ref: https://www.postgresql.org/docs/current/auth-ldap.html
uri: ""
@@ -1094,7 +1096,7 @@ volumePermissions:
image:
registry: docker.io
repository: bitnami/bitnami-shell
tag: 10-debian-10-r439
tag: 10-debian-10-r442
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
@@ -1179,7 +1181,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/postgres-exporter
tag: 0.10.1-debian-10-r126
tag: 0.10.1-debian-10-r129
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.