Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions class/mimir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ parameters:
output_path: ${_instance}/

# Helm chart
- input_type: external
input_paths:
- ${_base_directory}/run-command
args:
- rm
- -f
- ${_base_directory}/helmcharts/mimir-distributed/${mimir:charts:mimir-distributed:version}/templates/gateway/gateway-servmon.yaml
output_path: .
- input_type: jsonnet
input_paths:
- ${_base_directory}/component/helm_presets.jsonnet
Expand Down
7 changes: 5 additions & 2 deletions run-patch → run-command
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ set -e
# Kapitan provides a fairly standard PATH variable, we add /opt/homebrew/bin for macOS
export PATH="${PATH}:/opt/homebrew/bin"

patch=$(which patch) || (>&2 echo "patch not found in ${PATH}"; exit 7)
cmdname="${1}"
shift

exec "$patch" "${@}"
cmd=$(which "${cmdname}") || (>&2 echo "${cmdname} not found in ${PATH}"; exit 7)

exec "$cmd" "${@}"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading