From 56a4d77f5e43c7624df1a623424b7069e26aeb4d Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Mon, 26 Feb 2024 03:21:02 +0000 Subject: [PATCH 1/3] exclude replicationdestination from kubeconform it fails to substitute variables for the volsync files. --- scripts/kubeconform.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/kubeconform.sh b/scripts/kubeconform.sh index a69308b1..b2bd352e 100755 --- a/scripts/kubeconform.sh +++ b/scripts/kubeconform.sh @@ -13,6 +13,8 @@ kubeconform_args=( "-ignore-missing-schemas" "-skip" "Secret" + "-skip" + "ReplicationDestination" "-schema-location" "default" "-schema-location" From ff8dc0094aed52a9ff47ed954a1dde9c547fd912 Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Mon, 26 Feb 2024 03:41:11 +0000 Subject: [PATCH 2/3] exclude replicationsource from kubeconform --- scripts/kubeconform.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/kubeconform.sh b/scripts/kubeconform.sh index b2bd352e..a6b84329 100755 --- a/scripts/kubeconform.sh +++ b/scripts/kubeconform.sh @@ -15,6 +15,8 @@ kubeconform_args=( "Secret" "-skip" "ReplicationDestination" + "-skip" + "ReplicationSource" "-schema-location" "default" "-schema-location" From 89f29f30c2af463a67bef7691d5da7ef051c3c95 Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Mon, 26 Feb 2024 03:45:58 +0000 Subject: [PATCH 3/3] adjust kubeform skip syntax --- scripts/kubeconform.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/kubeconform.sh b/scripts/kubeconform.sh index a6b84329..029d2a3e 100755 --- a/scripts/kubeconform.sh +++ b/scripts/kubeconform.sh @@ -12,11 +12,7 @@ kubeconform_args=( "-strict" "-ignore-missing-schemas" "-skip" - "Secret" - "-skip" - "ReplicationDestination" - "-skip" - "ReplicationSource" + "Secret,ReplicationDestination,ReplicationSource" "-schema-location" "default" "-schema-location"