chore(container): update tomsquest/docker-radicale docker tag to v3.2.3.1 #10445
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Manifest validate | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['*'] | |
paths: ['cluster/**'] | |
pull_request: | |
branches: ['*'] | |
paths: ['cluster/**'] | |
env: | |
KUBERNETES_DIR: ./cluster | |
SCHEMA_DIR: /home/runner/.datree/crdSchemas | |
KUBE_VERSION: 1.26.0 | |
jobs: | |
manifest-validate: | |
runs-on: ubuntu-latest | |
container: ghcr.io/budimanjojo/kubernetes-toolbox:latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Download CRDs | |
run: | | |
mkdir -p ${{ env.SCHEMA_DIR }} | |
flux pull artifact oci://ghcr.io/budimanjojo/kubernetes-schemas-oci:latest \ | |
--output=${{ env.SCHEMA_DIR }} | |
- name: Validate Kubernetes Manifests | |
run: | | |
#!/usr/bin/env bash | |
set -o errexit | |
kustomize_config="kustomization.yaml" | |
find ${{ env.KUBERNETES_DIR }} -type f -name $kustomize_config -print0 | while IFS= read -r -d $'\0' file; | |
do | |
echo "== Validating kustomization ${file/%$kustomize_config} ==" | |
kustomize build "$(dirname $file)" | kubeconform \ | |
-strict \ | |
-ignore-missing-schemas \ | |
-kubernetes-version ${{ env.KUBE_VERSION }} \ | |
-skip Secret,CustomResourceDefinition \ | |
-schema-location default \ | |
-schema-location ${{ env.SCHEMA_DIR }}/\{\{.Group\}\}/\{\{.ResourceKind\}\}_\{\{.ResourceAPIVersion\}\}.json \ | |
-verbose | |
done |