From bf3e3a1eff452ad8a5831b72edb978a59bab4984 Mon Sep 17 00:00:00 2001 From: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> Date: Mon, 9 Sep 2024 23:10:57 +0200 Subject: [PATCH] fix: remove the schema validation file to make the tests pass Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> --- hack/download-helm-chart.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/download-helm-chart.sh b/hack/download-helm-chart.sh index 1d27154..4254c26 100755 --- a/hack/download-helm-chart.sh +++ b/hack/download-helm-chart.sh @@ -27,3 +27,8 @@ yq e -i '.webhook.securityContext.runAsUser = null' ${HELM_CHART_PATH}/values.ya yq e -i '.webhook.securityContext.seccompProfile = null' ${HELM_CHART_PATH}/values.yaml yq e -i '.certController.securityContext.runAsUser = null' ${HELM_CHART_PATH}/values.yaml yq e -i '.certController.securityContext.seccompProfile = null' ${HELM_CHART_PATH}/values.yaml + +# Patch remove the schema validation because it breaks the tests. +# kuttl is unable to properly provide values and further, +# helm --skip-schema-validation flag is not yet released. +rm ${HELM_CHART_PATH}/values.schema.json