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

Feat/tgrun default overrides #1037

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Feat/tgrun default overrides #1037

merged 2 commits into from
Jan 19, 2021

Conversation

DanStough
Copy link
Contributor

@DanStough DanStough commented Jan 18, 2021

Pivoted a little from the original plan to use CLI flags for everything to just using a --spec flag at the CLI per @emosbaugh's suggestion. If you want to test the tgrun changes:

./bin/tgrun queue --staging --spec "$(cat ./hack/test-spec.yaml)" --ref user-test
# OR
./bin/tgrun queue --staging --latest-only --ref user-test

When this gets merged I have a PR for metrics-server that I will make to test out the action.

Lessons learned:

@DanStough DanStough requested review from areed, laverya and emosbaugh and removed request for emosbaugh, areed and laverya January 18, 2021 18:28
@DanStough DanStough force-pushed the feat/tgrun-default-overrides branch 5 times, most recently from 24bc929 to 87a5c63 Compare January 18, 2021 21:01
var kurlPlans []types.Instance

// Custom Kurl Spec takes precedence
if schedulerOptions.Spec != "" {
Copy link
Member

Choose a reason for hiding this comment

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

is tgapi open? last time i checked i think it was. i worry that this is a security issue as it may open us up to arbitrary specs being run. right now we dont have anything like addon script or helm but if we did wouldnt this be an issue? @laverya wanna weigh in here?

@DanStough DanStough merged commit 42102c3 into master Jan 19, 2021
@DanStough DanStough deleted the feat/tgrun-default-overrides branch March 16, 2021 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants