From 32da4456ba6af7d042f31a7fb1fea81fdcd17b59 Mon Sep 17 00:00:00 2001 From: William Trelawny <22324745+williamtrelawny@users.noreply.github.com> Date: Thu, 14 May 2026 14:46:05 -0400 Subject: [PATCH] fix imagePullSecrets schema to use LocalObjectReference format Schema declared imagePullSecrets as array of strings, but Kubernetes requires array of LocalObjectReference objects ({name: string}). Fixes schema for global, graylog.image, and datanode.image. Co-Authored-By: Claude Sonnet 4.6 --- charts/graylog/values.schema.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/charts/graylog/values.schema.json b/charts/graylog/values.schema.json index 2779b8d..33894be 100644 --- a/charts/graylog/values.schema.json +++ b/charts/graylog/values.schema.json @@ -32,7 +32,11 @@ "properties": { "imagePullSecrets": { "type": "array", - "items": { "type": "string" } + "items": { + "type": "object", + "properties": { "name": { "type": "string" } }, + "required": ["name"] + } }, "storageClass": { "type": "string" }, "existingSecretName": { "type": "string", "description": "Name of existing Graylog secret containing GRAYLOG_MONGODB_URI, GRAYLOG_ROOT_USERNAME, GRAYLOG_PASSWORD_SECRET, and GRAYLOG_ROOT_PASSWORD_SHA2" } @@ -286,7 +290,14 @@ "repository": { "type": "string" }, "tag": { "type": "string" }, "imagePullPolicy": { "type": "string" }, - "imagePullSecrets": { "type": "array" } + "imagePullSecrets": { + "type": "array", + "items": { + "type": "object", + "properties": { "name": { "type": "string" } }, + "required": ["name"] + } + } } }, "updateStrategy": { @@ -439,7 +450,14 @@ "repository": { "type": "string" }, "tag": { "type": "string" }, "imagePullPolicy": { "type": "string" }, - "imagePullSecrets": { "type": "array" } + "imagePullSecrets": { + "type": "array", + "items": { + "type": "object", + "properties": { "name": { "type": "string" } }, + "required": ["name"] + } + } } }, "updateStrategy": {