From fb7d89f6d8f14edc1f1c53c9358c0a70e52999ef Mon Sep 17 00:00:00 2001 From: Moritz Rieger Date: Tue, 6 May 2025 09:51:51 +0200 Subject: [PATCH] fix: allow valuesFrom in `gitSync.env` FIXES: https://github.com/apache/airflow/issues/42024 --- chart/values.schema.json | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/chart/values.schema.json b/chart/values.schema.json index b329b4a0dde76..e2943aa0975ca 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -9141,25 +9141,21 @@ "type": "array", "default": [], "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "additionalProperties": false + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" }, "examples": [ { "name": "GIT_SYNC_TIMEOUT", "value": "60" + }, + { + "name": "GIT_SYNC_USERNAME", + "valueFrom": { + "secretKeyRef": { + "name": "git-secret", + "key": "username" + } + } } ] },