Use local path instead of a repository as source #9912
Replies: 5 comments 33 replies
-
You could run a git provider in the offline cluster, but that's a bit heavy-weight. It might also be possible to use an init container or some other mechanism to mount the manifests into the repo-server and then load them as a |
Beta Was this translation helpful? Give feedback.
-
@SamDecrock the single node clusters you speak of that are not connected to the internet... what is the specific use case? Knowing the use case may help point to some other viable options. |
Beta Was this translation helpful? Give feedback.
-
seem issue is TARGET REVISION, cant put blank for file:///
|
Beta Was this translation helpful? Give feedback.
-
Hi there, Do we have any working solution to add a local file path instead of a remote git repo in argocd for an application, any example for that would be very helpful. Thank you |
Beta Was this translation helpful? Give feedback.
-
A alternative I think is to override using |
Beta Was this translation helpful? Give feedback.
-
Hi,
We love ArgoCD because it syncs our application with the manifests stored on git. This makes it super easy to upgrade our software: we update the manifest, argo removes the old deployments, statefulsets, services and whatnot, adds the new ones and we're done.
However, when we install our software on a single-node Kubernetes cluster that is not connected to the internet, we have a problem. We have to manually do
kubectl apply -f manifest.yaml
and check if we need to delete some deployments, statefulsets or any other Kubernetes components. As ArgoCD's source of truth needs to be on a git repo we cannot use Argo for this.So my question is, is there an option to use a local path as the source of truth for our manifests? This way we can drop the manifest in specific folder and we're done. Or is that a bad idea and if so, how would you solve our problem?
Beta Was this translation helpful? Give feedback.
All reactions