Compare commits
1 Commits
b52c815a98
...
6112e0c20d
| Author | SHA1 | Date | |
|---|---|---|---|
|
6112e0c20d
|
@@ -152,7 +152,7 @@ jobs:
|
|||||||
|
|
||||||
if [ -f "$chart_path/Chart.yaml" ]; then
|
if [ -f "$chart_path/Chart.yaml" ]; then
|
||||||
mkdir -p ${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name
|
mkdir -p ${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name
|
||||||
OUTPUT_FOLDER="${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name/"
|
OUTPUT_FILE="${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name/$chart_name.yaml"
|
||||||
|
|
||||||
cd $chart_path
|
cd $chart_path
|
||||||
|
|
||||||
@@ -169,39 +169,33 @@ jobs:
|
|||||||
|
|
||||||
case "$chart_name" in
|
case "$chart_name" in
|
||||||
"stack")
|
"stack")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -155,39 +155,33 @@ jobs:
|
|||||||
|
|
||||||
case "$chart_name" in
|
case "$chart_name" in
|
||||||
"stack")
|
"stack")
|
||||||
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 | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
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 | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
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 | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
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 | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
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 | yq -s '$OUTPUT_FOLDER + .kind + "-" + .metadata.name'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
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 | 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_FILE"
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ jobs:
|
|||||||
|
|
||||||
if [ -f "$chart_path/Chart.yaml" ]; then
|
if [ -f "$chart_path/Chart.yaml" ]; then
|
||||||
mkdir -p ${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name
|
mkdir -p ${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name
|
||||||
OUTPUT_FOLDER="${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name/"
|
OUTPUT_FILE="${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name/$chart_name.yaml"
|
||||||
|
|
||||||
cd $chart_path
|
cd $chart_path
|
||||||
|
|
||||||
@@ -174,39 +174,33 @@ jobs:
|
|||||||
|
|
||||||
case "$chart_name" in
|
case "$chart_name" in
|
||||||
"stack")
|
"stack")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ jobs:
|
|||||||
|
|
||||||
if [ -f "$chart_path/Chart.yaml" ]; then
|
if [ -f "$chart_path/Chart.yaml" ]; then
|
||||||
mkdir -p ${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name
|
mkdir -p ${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name
|
||||||
OUTPUT_FOLDER="${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name/"
|
OUTPUT_FILE="${MANIFEST_DIR}/clusters/${CLUSTER}/manifests/$chart_name/$chart_name.yaml"
|
||||||
|
|
||||||
cd $chart_path
|
cd $chart_path
|
||||||
|
|
||||||
@@ -172,39 +172,33 @@ jobs:
|
|||||||
|
|
||||||
case "$chart_name" in
|
case "$chart_name" in
|
||||||
"stack")
|
"stack")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"cilium")
|
"cilium")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"coredns")
|
"coredns")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"metrics-server")
|
"metrics-server")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
"prometheus-operator-crds")
|
"prometheus-operator-crds")
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
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 > "$OUTPUT_FILE"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user