Skip to content

Commit

Permalink
fix how build script removes default image from generated manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Varankin <[email protected]>
  • Loading branch information
narqo committed Jan 8, 2025
1 parent b8bf04b commit ab6bf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operations/helm/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function generate_manifests() {
helm template "${ARGS[@]}" 1>/dev/null
cp -r "${INTERMEDIATE_OUTPUT_DIR}" "${OUTPUT_DIR}"
rm "${OUTPUT_DIR}/${CHART_NAME}/templates/values-for-rego-tests.yaml"
find "${OUTPUT_DIR}/${CHART_NAME}/templates" -type f -print0 | xargs -0 "${SED}" -E -i -- "/^\s+(checksum\/(alertmanager-fallback-)?config|(helm.sh\/)?chart|app.kubernetes.io\/version|image: \"grafana\/(mimir|mimir-continuous-test|enterprise-metrics)):/d"
find "${OUTPUT_DIR}/${CHART_NAME}/templates" -type f -print0 | xargs -0 "${SED}" -E -i -- "/^\s+(checksum\/(alertmanager-fallback-)?config|(helm.sh\/)?chart|app.kubernetes.io\/version|image: \"?grafana\/(mimir|mimir-continuous-test|enterprise-metrics)):/d"
}

for FILEPATH in $TESTS; do
Expand Down

0 comments on commit ab6bf2e

Please sign in to comment.