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

Litmusctl checks existence of workflow name before scheduling & add the same if not present already #117

Merged
merged 3 commits into from Dec 15, 2022

Conversation

iamnicoj
Copy link
Contributor

@iamnicoj iamnicoj commented Dec 13, 2022

This PR fixes issue #116. It verifies if manifests has the name or the generateName attribute to assigned it to the create-scenario chaosWorkflowRequest accordingly.

In case the manifest has the generateName attribute it would create a random alphanumeric postfix string and concatenate it to the name. It will also delete the generateName attribute from the manifest before submitting it to the API.

@iamnicoj iamnicoj changed the title Litmusctl should check existence of workflow name before scheduling & add the same if not present already Litmusctl checks existence of workflow name before scheduling & add the same if not present already Dec 13, 2022
Signed-off-by: Nico J <nicolasj@microsoft.com>
Signed-off-by: Nico J <nicolasj@microsoft.com>
…the json manifest

Signed-off-by: Nico J <nicolasj@microsoft.com>
@Jonsy13 Jonsy13 merged commit 8b99793 into litmuschaos:master Dec 15, 2022
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

4 participants