Skip to content

Commit 60ce3d3

Browse files
committed
refactor(scripts): use existing manifests in package_quickstart.sh
- Rename package-quickstart.sh to package_quickstart.sh - Use existing manifests in package_quickstart.sh instead of helm
1 parent 0d98d3d commit 60ce3d3

File tree

2 files changed

+15
-27
lines changed

2 files changed

+15
-27
lines changed

scripts/package-quickstart.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

scripts/package_quickstart.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ ${#@} < 2 ]]; then
4+
echo "Usage: $0 concatenate OLM's Kubernetes manifests into a single YAML stream and writes the result to a file"
5+
echo "* dir: the input directory that contains OLM's Kubernetes manifests"
6+
echo "* out: the output file for the combined OLM Kubernetes manifest"
7+
exit 1
8+
fi
9+
10+
dir=$1
11+
out=$2
12+
13+
awk 'NR==1 && !/^---*/ {print "---"} !/^[[:space:]]*#/ {print}' ${dir}/*.yaml > ${out} && \
14+
echo "Wrote manifest to ${out}"
15+

0 commit comments

Comments
 (0)