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

[USEFUL] cpl doctor Validate yaml file upon startup #99

Closed
1 task
ahangarha opened this issue Nov 3, 2023 · 3 comments · Fixed by #185
Closed
1 task

[USEFUL] cpl doctor Validate yaml file upon startup #99

ahangarha opened this issue Nov 3, 2023 · 3 comments · Fixed by #185
Assignees
Labels
enhancement New feature or request

Comments

@ahangarha
Copy link
Contributor

ahangarha commented Nov 3, 2023

From #91

  • Workload names must match template file names and the workload name inside the templates
    templates can contain multiple documents (working), but ONLY one workload with name-matching file name
@ahangarha ahangarha added the enhancement New feature or request label Nov 3, 2023
@justin808
Copy link
Member

Why is this true?

Workload names must match template file names

I don't think so.

@ahangarha ahangarha reopened this Nov 25, 2023
@ahangarha
Copy link
Contributor Author

@justin808 I agree with your new comment. I think the template's name can be anything suited to its content. It may match a workload name or not.

@ahangarha
Copy link
Contributor Author

Can we list the factors to check for validation? Should we check types, or we leave it to cpln to handle it?
@justin808 @rafaelgomesxyz

@justin808 justin808 changed the title Validate yaml file upon startup [USEFUL] cpl doctor Validate yaml file upon startup May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants