Skip to content

Commit

Permalink
fixing ldap configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Yannic Remmet-Zarotiadis <[email protected]>
  • Loading branch information
Yannic Remmet-Zarotiadis committed Oct 1, 2024
1 parent 149242a commit bebe071
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentat
| cluster.postgresql.parameters | object | `{}` | PostgreSQL configuration options (postgresql.conf) |
| cluster.postgresql.pg_hba | list | `[]` | PostgreSQL Host Based Authentication rules (lines to be appended to the pg_hba.conf file) |
| cluster.postgresql.pg_ident | list | `[]` | PostgreSQL User Name Maps rules (lines to be appended to the pg_ident.conf file) |
| cluster.postgresql.ldap | list | `[]` | PostgreSQL LDAP configuration (lines to be appended to the pg_hba.conf file) (see https://cloudnative-pg.io/documentation/current/postgresql_conf/#ldap-configuration) |
| cluster.postgresql.ldap | list | `[]` | PostgreSQL LDAP configuration (see https://cloudnative-pg.io/documentation/current/postgresql_conf/#ldap-configuration) |
| cluster.postgresql.shared_preload_libraries | list | `[]` | Lists of shared preload libraries to add to the default ones |
| cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or restart. |
| cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) |
Expand Down
2 changes: 2 additions & 0 deletions charts/cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ spec:
{{- toYaml .pg_hba | nindent 6 }}
pg_ident:
{{- toYaml .pg_ident | nindent 6 }}
{{- if .ldap }}
ldap:
{{- toYaml .ldap | nindent 6 }}
{{- end}}
{{ end }}

managed:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"type": "array"
},
"ldap": {
"type": "array"
"type": "object"
}
}
},
Expand Down

0 comments on commit bebe071

Please sign in to comment.