From 0b9eb629167e69aa138179398dc4e0e930d7ee6a Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Wed, 11 Dec 2024 12:23:21 -0500 Subject: [PATCH 1/2] Upgrade kubeconform version --- scripts/install-kubeconform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-kubeconform.sh b/scripts/install-kubeconform.sh index b02a897..e224e85 100755 --- a/scripts/install-kubeconform.sh +++ b/scripts/install-kubeconform.sh @@ -2,7 +2,7 @@ set -eu -: "${KUBECONFORM_VERSION:=0.6.1}" +: "${KUBECONFORM_VERSION:=0.6.7}" echo "Installing kubeconform to ${BINDIR}/kubeconform..." mkdir -p "$BINDIR" From f660ebeb4f156104bde92951db17478e8b3d1cd5 Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Wed, 11 Dec 2024 12:24:57 -0500 Subject: [PATCH 2/2] Use new schema repository layout In order to resolve validation failures on ocp-on-nerc/nerc-ocp-config#609, we need to update the schema repository. This required some changes to the repository layout because the tool on which we had been relying was no longer maintained. This commit updates our validation workflow to use the new schema repository structure. --- .github/workflows/validate-manifests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-manifests.yaml b/.github/workflows/validate-manifests.yaml index 8b9c44a..61c4289 100644 --- a/.github/workflows/validate-manifests.yaml +++ b/.github/workflows/validate-manifests.yaml @@ -65,4 +65,4 @@ jobs: run: | ${COMMON_CI}/scripts/validate-manifests.sh env: - ADDITIONAL_SCHEMAS: "${{ env.OCP_SCHEMAS }}/schemas" + ADDITIONAL_SCHEMAS: "${{ env.OCP_SCHEMAS }}/schemas.json"