gen-common.sh 405 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. set -xeEuo pipefail
  3. SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
  4. pushd "$SCRIPT_DIR" &>/dev/stderr
  5. COMMON_YAML_FILE="$SCRIPT_DIR/../../deploy/examples/common.yaml"
  6. export ADDITIONAL_HELM_CLI_OPTIONS="--set pspEnable=false"
  7. rm -f "$COMMON_YAML_FILE"
  8. cat common.yaml.header >>"$COMMON_YAML_FILE"
  9. ./get-helm-rbac.sh >>"$COMMON_YAML_FILE"
  10. popd &>/dev/stderr