From fc6af2429998b7172d537ffff706f561cf0e8421 Mon Sep 17 00:00:00 2001 From: devasmith <60352859+devasmith@users.noreply.github.com> Date: Wed, 11 Dec 2024 08:14:08 +0100 Subject: [PATCH 1/3] Fix wrong type userDnTemplate in values.schema.json --- charts/netbox/Chart.yaml | 2 +- charts/netbox/values.schema.json | 2 +- charts/netbox/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index 751f575c..6e269d0a 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: netbox -version: 5.0.0-beta.161 +version: 5.0.0-beta.162 appVersion: "v4.1.7" type: application kubeVersion: ^1.25.0-0 diff --git a/charts/netbox/values.schema.json b/charts/netbox/values.schema.json index 7f71438b..58963e8c 100644 --- a/charts/netbox/values.schema.json +++ b/charts/netbox/values.schema.json @@ -1021,7 +1021,7 @@ "type": "string" }, "userDnTemplate": { - "type": "null" + "type": "string" }, "userSearchBaseDn": { "type": "string" diff --git a/charts/netbox/values.yaml b/charts/netbox/values.yaml index b60fc66a..8ea66663 100644 --- a/charts/netbox/values.yaml +++ b/charts/netbox/values.yaml @@ -387,7 +387,7 @@ remoteAuth: caCertData: "" bindDn: CN=Netbox,OU=EmbeddedDevices,OU=MyCompany,DC=example,dc=com bindPassword: "" - userDnTemplate: null + userDnTemplate: "" userSearchBaseDn: OU=Users,OU=MyCompany,DC=example,dc=com userSearchAttr: sAMAccountName groupSearchBaseDn: OU=Groups,OU=MyCompany,DC=example,dc=com From 04c18cd203cf3d6641235feb164e43ca83a634c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Wed, 11 Dec 2024 11:21:53 +0100 Subject: [PATCH 2/3] Additional schema fixes --- charts/netbox/values.schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/netbox/values.schema.json b/charts/netbox/values.schema.json index 58963e8c..cb3ae013 100644 --- a/charts/netbox/values.schema.json +++ b/charts/netbox/values.schema.json @@ -1063,7 +1063,7 @@ "type": "boolean" }, "mirrorGroupsExcept": { - "type": "null" + "type": "string" }, "cacheTimeout": { "type": "integer" @@ -1364,7 +1364,7 @@ "type": "object" }, "terminationGracePeriodSeconds": { - "type": "null" + "type": ["null", "number"] }, "test": { "properties": { @@ -1610,7 +1610,7 @@ "type": "array" }, "terminationGracePeriodSeconds": { - "type": "null" + "type": ["null", "number"] }, "tolerations": { "type": "array" From f8b46285ec5f763f9c84c76fe69637193c1ec009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Wed, 11 Dec 2024 11:22:29 +0100 Subject: [PATCH 3/3] Matching values types --- charts/netbox/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/netbox/values.yaml b/charts/netbox/values.yaml index 8ea66663..c18993e8 100644 --- a/charts/netbox/values.yaml +++ b/charts/netbox/values.yaml @@ -402,7 +402,7 @@ remoteAuth: - CN=Domain Admins,CN=Users,DC=example,dc=com findGroupPerms: true mirrorGroups: true - mirrorGroupsExcept: null + mirrorGroupsExcept: "" cacheTimeout: 3600 attrFirstName: givenName attrLastName: sn