This commit is contained in:
@@ -147,6 +147,8 @@ jobs:
|
|||||||
chart_path=${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir
|
chart_path=${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir
|
||||||
chart_name=$(basename "$chart_path")
|
chart_name=$(basename "$chart_path")
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
echo ">> Rendering chart: $chart_name"
|
echo ">> Rendering chart: $chart_name"
|
||||||
echo ">> Chart path $chart_path"
|
echo ">> Chart path $chart_path"
|
||||||
|
|
||||||
@@ -171,37 +173,38 @@ jobs:
|
|||||||
"stack")
|
"stack")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for stack ..."
|
echo ">> Special Rendering for stack ..."
|
||||||
helm template stack ./ --namespace argocd --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template stack ./ --namespace argocd --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for cilium ..."
|
echo ">> Special Rendering for cilium ..."
|
||||||
helm template cilium ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template cilium ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for coredns ..."
|
echo ">> Special Rendering for coredns ..."
|
||||||
helm template coredns ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template coredns ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for metrics-server ..."
|
echo ">> Special Rendering for metrics-server ..."
|
||||||
helm template metrics-server ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template metrics-server ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for prometheus-operator-crds ..."
|
echo ">> Special Rendering for prometheus-operator-crds ..."
|
||||||
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Standard Rendering for $chart_name ..."
|
echo ">> Standard Rendering for $chart_name ..."
|
||||||
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
||||||
|
ls $OUTPUT_FOLDER
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
@@ -211,7 +214,6 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "----"
|
echo "----"
|
||||||
|
|
||||||
- name: Check for Changes
|
- name: Check for Changes
|
||||||
id: check-changes
|
id: check-changes
|
||||||
if: steps.check-dir-changes.outputs.changes-detected == 'true'
|
if: steps.check-dir-changes.outputs.changes-detected == 'true'
|
||||||
|
|||||||
@@ -159,32 +159,32 @@ jobs:
|
|||||||
"stack")
|
"stack")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for stack ..."
|
echo ">> Special Rendering for stack ..."
|
||||||
helm template stack ./ --namespace argocd --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template stack ./ --namespace argocd --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for cilium ..."
|
echo ">> Special Rendering for cilium ..."
|
||||||
helm template cilium ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template cilium ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for coredns ..."
|
echo ">> Special Rendering for coredns ..."
|
||||||
helm template coredns ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template coredns ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for metrics-server ..."
|
echo ">> Special Rendering for metrics-server ..."
|
||||||
helm template metrics-server ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template metrics-server ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for prometheus-operator-crds ..."
|
echo ">> Special Rendering for prometheus-operator-crds ..."
|
||||||
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Standard Rendering for $chart_name ..."
|
echo ">> Standard Rendering for $chart_name ..."
|
||||||
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -199,8 +199,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
ls ${MAIN_DIR}
|
|
||||||
|
|
||||||
echo "----"
|
echo "----"
|
||||||
|
|
||||||
- name: Check for Changes
|
- name: Check for Changes
|
||||||
|
|||||||
@@ -152,6 +152,8 @@ jobs:
|
|||||||
chart_path=${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir
|
chart_path=${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir
|
||||||
chart_name=$(basename "$chart_path")
|
chart_name=$(basename "$chart_path")
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
echo ">> Rendering chart: $chart_name"
|
echo ">> Rendering chart: $chart_name"
|
||||||
echo ">> Chart path $chart_path"
|
echo ">> Chart path $chart_path"
|
||||||
|
|
||||||
@@ -176,37 +178,38 @@ jobs:
|
|||||||
"stack")
|
"stack")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for stack ..."
|
echo ">> Special Rendering for stack ..."
|
||||||
helm template stack ./ --namespace argocd --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template stack ./ --namespace argocd --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for cilium ..."
|
echo ">> Special Rendering for cilium ..."
|
||||||
helm template cilium ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template cilium ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for coredns ..."
|
echo ">> Special Rendering for coredns ..."
|
||||||
helm template coredns ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template coredns ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for metrics-server ..."
|
echo ">> Special Rendering for metrics-server ..."
|
||||||
helm template metrics-server ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template metrics-server ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for prometheus-operator-crds ..."
|
echo ">> Special Rendering for prometheus-operator-crds ..."
|
||||||
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Standard Rendering for $chart_name ..."
|
echo ">> Standard Rendering for $chart_name ..."
|
||||||
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
||||||
|
ls $OUTPUT_FOLDER
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -150,6 +150,8 @@ jobs:
|
|||||||
chart_path=${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir
|
chart_path=${MAIN_DIR}/clusters/${CLUSTER}/helm/$dir
|
||||||
chart_name=$(basename "$chart_path")
|
chart_name=$(basename "$chart_path")
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
echo ">> Rendering chart: $chart_name"
|
echo ">> Rendering chart: $chart_name"
|
||||||
echo ">> Chart path $chart_path"
|
echo ">> Chart path $chart_path"
|
||||||
|
|
||||||
@@ -174,37 +176,38 @@ jobs:
|
|||||||
"stack")
|
"stack")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for stack ..."
|
echo ">> Special Rendering for stack ..."
|
||||||
helm template stack ./ --namespace argocd --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template stack ./ --namespace argocd --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for cilium ..."
|
echo ">> Special Rendering for cilium ..."
|
||||||
helm template cilium ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template cilium ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for coredns ..."
|
echo ">> Special Rendering for coredns ..."
|
||||||
helm template coredns ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template coredns ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for metrics-server ..."
|
echo ">> Special Rendering for metrics-server ..."
|
||||||
helm template metrics-server ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template metrics-server ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Special Rendering for prometheus-operator-crds ..."
|
echo ">> Special Rendering for prometheus-operator-crds ..."
|
||||||
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template prometheus-operator-crds ./ --namespace kube-system --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Standard Rendering for $chart_name ..."
|
echo ">> Standard Rendering for $chart_name ..."
|
||||||
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
helm template "$chart_name" ./ --namespace "$chart_name" --include-crds --dry-run | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
||||||
|
ls $OUTPUT_FOLDER
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user