Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make namespace in build-helm-tests explicit #2069

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

dimitarvdimitrov
Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov commented Jun 9, 2022

What this PR does

Make namespace in build-helm-tests explicit. Otherwise, the namespace is taken from the current kubectl context.

@@ -19,5 +19,5 @@ for FILEPATH in $TESTS; do
TEST_NAME=$(basename -s '.yaml' "$FILEPATH")

echo "Templating $TEST_NAME"
helm template "${TEST_NAME}" ${CHART_PATH} -f "${FILEPATH}" --output-dir "operations/helm/tests/${TEST_NAME}-generated"
helm template "${TEST_NAME}" ${CHART_PATH} -f "${FILEPATH}" --output-dir "operations/helm/tests/${TEST_NAME}-generated" --namespace default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think people would use mimir/GEM in a dedicated namespace in production. I'd rather we used some non standard name like "citestns" or something weird to grep easily. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont have a preference. I guess it doesnt hurt to have a non-standard namespace

Copy link
Contributor

@krajorama krajorama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@krajorama krajorama merged commit 89e4c99 into main Jun 13, 2022
@krajorama krajorama deleted the dimitar/add-namespace-to-helm-tests branch June 13, 2022 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants