We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f17cc1f commit 9e49b78Copy full SHA for 9e49b78
.github/workflows/kustomize-check.yaml
@@ -11,6 +11,8 @@ on:
11
jobs:
12
validate-kustomize:
13
runs-on: ubuntu-latest
14
+ env:
15
+ KUBERNETES_VERSION: v1.28.0
16
steps:
17
- name: Checkout code
18
uses: actions/checkout@v4
@@ -30,12 +32,12 @@ jobs:
30
32
find clusters/talos-robbinsdale/apps/* -type d -maxdepth 0 | while read dir; do
31
33
echo "Validating kustomize build for $dir"
34
if [ -f "$dir/kustomization.yaml" ]; then
- kustomize build --enable-helm "$dir"
35
+ KUSTOMIZE_ENABLE_HELM=true KUBERNETES_VERSION=$KUBERNETES_VERSION kustomize build --enable-helm "$dir"
36
if [ $? -ne 0 ]; then
37
echo "Error: Kustomize build failed for $dir"
38
exit 1
39
fi
40
else
41
echo "Skipping $dir - no kustomization.yaml found"
42
- done
43
+ done
0 commit comments