Generate deploy/examples/common.yaml from Helm charts. There were still
a few differences between common.yaml and the Helm charts. Where there
were differences we assume common.yaml was the most up-to-date.
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit bcc7d3e541)
14 lines
352 B
Bash
Executable File
14 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -xeEuo pipefail
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
pushd "$SCRIPT_DIR" &>/dev/stderr
|
|
|
|
COMMON_YAML_FILE="$SCRIPT_DIR/../../deploy/examples/common.yaml"
|
|
|
|
rm -f "$COMMON_YAML_FILE"
|
|
cat common.yaml.header >> "$COMMON_YAML_FILE"
|
|
./get-helm-rbac.sh >> "$COMMON_YAML_FILE"
|
|
|
|
popd &>/dev/stderr
|