1 Commits

Author SHA1 Message Date
renovate-bot d17477d5b1 chore(deps): update dependency binwiederhier/ntfy to v2.23.0
lint-test-helm / lint-helm (pull_request) Successful in 27s
lint-test-helm / validate-kubeconform (pull_request) Successful in 21s
2026-05-18 03:06:02 +00:00
2 changed files with 2 additions and 19 deletions
-1
View File
@@ -343,7 +343,6 @@ jobs:
helm dependency build "${CHART_PATH}" --skip-refresh
set -o pipefail
if ! helm template "${DIR}" "${CHART_PATH}" --include-crds --namespace default --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1,monitoring.coreos.com/v1/ServiceMonitor" | \
kubeconform \
${SCHEMA_LOCATIONS} \
+2 -18
View File
@@ -250,8 +250,6 @@ jobs:
echo ">> Rendering Manifests ..."
EXIT_CODE=0
render_chart() {
local DIR="$1"
local CHART_PATH="${MAIN_DIR}/clusters/${CLUSTER}/helm/${DIR}"
@@ -285,17 +283,10 @@ jobs:
echo ">> Formating rendered template ..."
local TEMPLATE
if ! TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1,monitoring.coreos.com/v1/ServiceMonitor"); then
echo "${DIR}" > "${MAIN_DIR}/.failed_chart_${DIR}"
return 1
fi
TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1,monitoring.coreos.com/v1/ServiceMonitor")
# Format and split rendered template
set -o pipefail
if ! echo "${TEMPLATE}" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"${OUTPUT_FOLDER}"'" + .kind + "-" + .metadata.name + ".yaml"'; then
echo "${DIR}" > "${MAIN_DIR}/.failed_chart_${DIR}"
return 1
fi
echo "${TEMPLATE}" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"${OUTPUT_FOLDER}"'" + .kind + "-" + .metadata.name + ".yaml"'
# Strip comments again to ensure formatting correctness
for file in "$OUTPUT_FOLDER"/*; do
@@ -325,16 +316,9 @@ jobs:
done | xargs -P 5 -I {} bash -c 'OUT=$(render_chart "$@" 2>&1); printf "%s\n" "$OUT"' _ {}
if ls .failed_chart_* 1> /dev/null 2>&1; then
EXIT_CODE=1
rm -f .failed_chart_*
fi
echo ""
echo "----"
exit $EXIT_CODE
- name: Check for Changes
id: check-changes
if: steps.check-dir-changes.outputs.changes-detected == 'true'