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

Fix CLI Does Not Honor metadata.namespace #1290

Closed
wants to merge 1 commit into from

Conversation

xianlubird
Copy link
Member

Fix #1288

@@ -102,6 +102,10 @@ func SubmitWorkflows(filePaths []string, submitOpts *util.SubmitOpts, cliOpts *c
}
}

if !checkWfsInSameNs(workflows) {
log.Fatal("Workflows aren't at the same namespace")
Copy link
Member

Choose a reason for hiding this comment

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

Or should we rather create workflows of different namespaces one by one by loop?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a good idea.

But for the below logic, like watch maybe will have some confuse. And check all the workflow are in the same ns. will help users to avoid mistakes on yaml file.

@xianlubird
Copy link
Member Author

@sarabala1979 @jessesuen Any update ?

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.

CLI Does Not Honor metadata.namespace
2 participants