ArgoCD using OCI as a source, what does it mean for GitOps promotions? #4870
Replies: 1 comment 3 replies
-
|
Subscribing to manifests (or other stuff, too, I suppose) stored in OCI repos is coming at some point. Pushing manifests (or other stuff) to OCI repos is probably coming sooner than that. There's no specific timeframe yet. There are, I think, a few issues about this in some form and as recently as earlier today I've attempted to de-dupe. #1099 is the one I'm closing others in favor of. In a nutshell, OCI doesn't change things much. It enables GitOps without Git. Pushing artifacts to OCI and tagging them in some meaningful way is not much different from pushing them to Git. Subscribing to those isn't much different from our existing image and Helm chart subscription features. Since you ask about rendered branches, specifically, you can certainly push/pull rendered manifests to environment-specific OCI repositories or push/pull rendered manifests for all environments to a single repository and use environment-specific tags. It's really up to you how you want things to work... and that's the caveat too... You'll end up having to devise your own conventions to accomplish things Git gave you for free. The commits in a branch are ordered chronologically. You don't need to do anything at all to know which commit in a given branch is newest. It's obvious. With OCI, you'd have to establish and adhere to a semantically meaningful tagging convention to get the equivalent. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As one of the pushers for artefact branches and specifically focusing on promoting GitOps applications I felt like Kargo was the right place to ask this.
Kargo (and others) have been pushing in the direction of artefact branches for promotions and I wonder how that fits into the latest developments of GitOps using OCI artefacts as sources.
I feel like the simple answer is you have tags of an OCI repo for each environment and you're GitOps promotion tool could push your final manifests to that tag but then you lose things like a pull request workflow.
So I'm interested in Kargo contributors' views on this and how they see the future of GitOps promotions.
Beta Was this translation helpful? Give feedback.
All reactions