Skip to content

Commit 0bebdc4

Browse files
0xmeyerLeoColomb
andauthored
Fix LDAP values validation (#509)
Co-authored-by: Léo Colombaro <[email protected]>
1 parent e8c6fe3 commit 0bebdc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/netbox/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: netbox
3-
version: 5.0.21
3+
version: 5.0.22
44
# renovate: image=ghcr.io/netbox-community/netbox
55
appVersion: "v4.2.2"
66
type: application

charts/netbox/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ netbox: postgresql
174174
Validate values of Netbox Chart - LDAP
175175
*/}}
176176
{{- define "netbox.validateValues.ldap" -}}
177-
{{- if and (has "netbox.authentication.LDAPBackend" .Values.remoteAuth.backends) (or (empty .Values.remoteAuth.ldap.serverUri) (empty .Values.remoteAuth.ldap.bindDn)) -}}
177+
{{- if and (has "netbox.authentication.LDAPBackend" .Values.remoteAuth.backends) (empty .Values.remoteAuth.ldap.serverUri) -}}
178178
netbox: remoteAuth.ldap
179179
When LDAP backend is activated, you must provide all the necessary parameters.
180180
Review the values under `remoteAuth.ldap`.

0 commit comments

Comments
 (0)