render manifests with api version
All checks were successful
renovate / renovate (push) Successful in 59s

This commit is contained in:
2025-12-23 15:45:18 -06:00
parent 8d1207f835
commit 43fa873c2d
4 changed files with 36 additions and 12 deletions

View File

@@ -40,6 +40,12 @@ jobs:
version: v3.17.2 # Pending https://github.com/helm/helm/pull/30743
cache: true
- name: Configure Kubeconfig
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Prepare Manifest Branch
id: prepare-manifest-branch
run: |
@@ -186,17 +192,17 @@ jobs:
"stack")
echo ""
echo ">> Special Rendering for stack into argocd namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
"cilium" | "coredns" | "metrics-server" |"prometheus-operator-crds")
echo ""
echo ">> Special Rendering for $chart_name into kube-system namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
*)
echo ""
echo ">> Standard Rendering for $chart_name ..."
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run)
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
esac

View File

@@ -34,6 +34,12 @@ jobs:
version: v3.17.2 # Pending https://github.com/helm/helm/pull/30743
cache: true
- name: Configure Kubeconfig
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Prepare Manifest Branch
run: |
cd ${MANIFEST_DIR}
@@ -171,17 +177,17 @@ jobs:
"stack")
echo ""
echo ">> Special Rendering for stack into argocd namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
"cilium" | "coredns" | "metrics-server" |"prometheus-operator-crds")
echo ""
echo ">> Special Rendering for $chart_name into kube-system namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
*)
echo ""
echo ">> Standard Rendering for $chart_name ..."
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run)
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
esac

View File

@@ -41,6 +41,12 @@ jobs:
version: v3.17.2 # Pending https://github.com/helm/helm/pull/30743
cache: true
- name: Configure Kubeconfig
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Prepare Manifest Branch
run: |
cd ${MANIFEST_DIR}
@@ -191,17 +197,17 @@ jobs:
"stack")
echo ""
echo ">> Special Rendering for stack into argocd namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
"cilium" | "coredns" | "metrics-server" |"prometheus-operator-crds")
echo ""
echo ">> Special Rendering for $chart_name into kube-system namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
*)
echo ""
echo ">> Standard Rendering for $chart_name ..."
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run)
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
esac

View File

@@ -39,6 +39,12 @@ jobs:
version: v3.17.2 # Pending https://github.com/helm/helm/pull/30743
cache: true
- name: Configure Kubeconfig
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Prepare Manifest Branch
run: |
cd ${MANIFEST_DIR}
@@ -189,17 +195,17 @@ jobs:
"stack")
echo ""
echo ">> Special Rendering for stack into argocd namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace argocd --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
"cilium" | "coredns" | "metrics-server" |"prometheus-operator-crds")
echo ""
echo ">> Special Rendering for $chart_name into kube-system namespace ..."
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run)
TEMPLATE=$(helm template $chart_name ./ --namespace kube-system --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
*)
echo ""
echo ">> Standard Rendering for $chart_name ..."
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run)
TEMPLATE=$(helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run=server --server-side --api-versions gateway.networking.k8s.io/v1)
;;
esac