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

Arlon cli - Validation of Profile, Bundle, ClusterSpec when writing to Git #66

Open
cre8minus1 opened this issue Jun 3, 2022 · 1 comment
Assignees
Labels
Approved For all issues, once approved issues are placed in a milestone and project.
Milestone

Comments

@cre8minus1
Copy link
Member

cre8minus1 commented Jun 3, 2022

As an Arlon user leveraging the Create Profile and Create ClusterSpec commands to wtite to git I expect Arlon to validate the YAML prior to writing it to Git.

So that i do not hit issues when attempting to use the newly created profile.

Specifically I would like it to

Look for malformated YAML

Incorrect ClusterAPI CRDs or APIs based on the version of ClusterAPI in my managment cluster and the installed providers

Aha! Link: https://pf9.aha.io/features/ARLON-150

@cre8minus1 cre8minus1 added the Approved For all issues, once approved issues are placed in a milestone and project. label Jun 3, 2022
@cre8minus1 cre8minus1 added this to the 0.3.0 milestone Jun 3, 2022
@bcle
Copy link
Collaborator

bcle commented Jun 23, 2022

In 0.3.x, bundles, profiles and clusterspecs are not stored in the user's git. Instead, they are stored in secrets (bundles), configmaps (gen1 profiles, clusterspecs) and resources (gen2 profiles), and manipulated through the arlon CLI/Library. Dynamic profiles also have a "compiled" component that is arlon generates and stores in a "workspace git repo" that the user supplies, but the user is not supposed to manipulate the compiled content. So there isn't really anything to check or validate.

@cre8minus1 cre8minus1 modified the milestones: 0.3.0, Not Planned Jul 27, 2022
@cre8minus1 cre8minus1 changed the title Arlonctl - Validation of Profile, Bundle, ClusterSpec when writing to Git Arlon cli - Validation of Profile, Bundle, ClusterSpec when writing to Git Aug 18, 2022
@cre8minus1 cre8minus1 modified the milestones: Not Planned, 0.11.0 Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved For all issues, once approved issues are placed in a milestone and project.
Projects
None yet
Development

No branches or pull requests

3 participants