-
Notifications
You must be signed in to change notification settings - Fork 9
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
Expand Helm DeploymentProfile to Support Both OCI Repository and Git/Code Repository #79
Comments
@jjaswanson4 This would mean all devices must support both OCI and Git (unless we change our current approach). The community has already indicated we do not want devices to depend on Git. There are several reasons why this is the case. Several of them are mentioned in this issue. |
The - type: docker-compose
components:
- name: digitron-orchestrator-docker
properties:
packageLocation: https://northsitarida.com/digitron/docker/digitron-orchestrator.tar.gz
keyLocation: https://northsitarida.com/digitron/docker/public-key.asc Git, under the covers, basically follows the same flow. Only difference is the packaging format here - In addition, Git is already a requirement in the workload deployment section of the spec: https://specification.margo.org/fleet-management/workload/workload-deployment/
|
If it's just a matter of downloading a single file that is hosted in a git repository that's one thing but if we're saying the device has to clone the repo that is where we get into the area where community members had concerns about using Git in general, not just for managing the desired state.
The specification is out of date. The community has agreed we won't use Git (see this issue) but we haven't decided on the alternative yet (that's this issue) so the specification hasn't been updated. We should probably put a note on that page indicating we're no longer using Git for this.
Agreed, I think we need to revisit that conversation because it was mentioned and discussed a little bit but we never came to any conclusions on which direction we felt was best for Margo. |
Description
Currently, the Helm DeploymentProfile requires use of charts stored in an OCI registry, which are packaged up as archives.
It's also common to see charts stored in Git repos, which can be pulled using standard git mechanisms (ssh, http), then applied using the same helm tooling as what's used for charts in OCI registries.
Motivation
Storing helm charts in a git repo is a valid and often used process, allowing for rapid testing and prototyping, as well as facilitating collaborations during the development of an application and supporting chart.
Proposed Solution (optional)
Expand
.ApplicationDescription.deploymentProfiles
, for typehelm.v3
, to allow for theproperties.repository
field to allow for both OCI and git endpoints.The current spec shows:
This could be expanded to allow for:
This aligns to other tooling that "consumes" helm charts for deployments to k8s-compliant endpoints. This is an example section of an
Application
that ArgoCD would deploy:Same concept, where charts can be pulled from an OCI-compliant endpoint, or from a code repository.
The text was updated successfully, but these errors were encountered: