We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d98d3d commit 60ce3d3Copy full SHA for 60ce3d3
scripts/package-quickstart.sh
scripts/package_quickstart.sh
@@ -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