use case rendering
This commit is contained in:
@@ -171,7 +171,33 @@ jobs:
|
||||
|
||||
echo ""
|
||||
echo ">> Rendering templates ..."
|
||||
|
||||
case "$chart_name" in
|
||||
"stack")
|
||||
echo ">> Special Rendering for stack ..."
|
||||
helm template stack ./ --namespace argocd --include-crds > "$OUTPUT_FILE"
|
||||
;;
|
||||
"cilium")
|
||||
echo ">> Special Rendering for cilium ..."
|
||||
helm template cilium ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||
;;
|
||||
"coredns")
|
||||
echo ">> Special Rendering for coredns ..."
|
||||
helm template coredns ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||
;;
|
||||
"metrics-server")
|
||||
echo ">> Special Rendering for metrics-server ..."
|
||||
helm template metrics-server ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||
;;
|
||||
"prometheus-operator-crds")
|
||||
echo ">> Special Rendering for prometheus-operator-crds ..."
|
||||
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds > "$OUTPUT_FILE"
|
||||
;;
|
||||
*)
|
||||
echo ">> Standard Rendering for $chart_name ..."
|
||||
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds > "$OUTPUT_FILE"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo ""
|
||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||
|
||||
Reference in New Issue
Block a user