Replies: 2 comments 1 reply
-
You could use the CreateNamespace sync option to have the Application automatically create the namespace in which the preview app can live. Alternatively, if you want to use a single namespace for all preview environments, you could use Helm to enforce prefixing all resource names with some unique name.
I'm not sure what this means. As far as I know, namespaces cannot be "children" of other namespaces. |
Beta Was this translation helpful? Give feedback.
-
@Mais316 and for anyone else happening across this: You can work around this issue by creating an app that uses a very slim app of apps pattern which creates two apps, let's call them "sub-namespace" and "actual-app". "sub-namespace targets the parent namespace and creates only a As the HNC picks up popularity or even gets considered for inclusion in kKubernetes by default, ArgoCD will likely have to start becoming more aware/compatible with it and its concepts. A big part/problem which might also relevant to the problem discussed by OP is tracking and applying correct self-service ability via "application-namespaces" and There are various considerations especially around security, performance and caching when allowing label based-matching. @crenshaw-dev I want to start a request for comments around the design considerations before I begin writing a PR. Is it better to do this in an issue or a Discussion post? |
Beta Was this translation helpful? Give feedback.
-
I am trying to evaluate PR generator that spins up a dynamic review env, issue is we are not allowing our customers to create namespace outside hnc.
So how to make ArgoCD create app inside a child namespace, in general how to tell argocd that the new namespace is child of another namespace?
Beta Was this translation helpful? Give feedback.
All reactions