Replies: 2 comments 1 reply
-
No such mechanism exists. I'd recommend managing your Application manifests via GitOps so that an update is a simple find/replace. If you can't GitOps the manifests, you could wrap the Application CRD in your own MyOrgApplication CRD and use a controller to inject whatever values you like. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@gaeljw a work around that I used is using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Considering we have many
Application
s and they all refer to the same Git host. Would there be a way to set this Git host in some kind of variable that would be substituted by ArgoCD when reading theApplication
definition?Unless I missed something in the documentation, I don't think it's possible for now, right?
That is, instead of having a few apps declared like this:
We would have the following and
$MY_ORG_SERVER
would be replaced by ArgoCD:The use case for this is to ease migration from one server to another (think GitHub to GitLab for instance) without having to change all
Application
manifests.Ideally, this would also apply to other places where the server is referenced like in
ApplicationSet
orAppProject
.Beta Was this translation helpful? Give feedback.
All reactions