So you have problem why Env and Project should have corresponsing namespace.
Env's namespace is where velaux create application CR.
Project's namespace is used creating project-level resources. Currently there is only Pipeline, whose underlying resource is WorkflowRun. Pipeline has nothing to do with Env and Target. So we can only create them inside projects' namespace
Hi VelaUX contributor
在使用VelaUX进行Project和Env管理时,存在一些让人困惑的逻辑设计,不知你们是否可以帮忙解决。
我理解的设计逻辑如下,还有不对之处,还请更证:
举例说明: a. 我创建名为 myproject01 的project; b. 在该项目中我有两个Environment, 分别名为 Dev & Pro c, 假如我只有一个Cluster, 有两个应用 App01 & App02 , 于是我需创建4个Target, 分别为 app01-dev, app02-dev, app01-pro, app02-pro. 在K8S中我们会看到如下Namespace被创建: myproject01, Dev, Env, app01-dev, app02-dev, app01-pro, app02-pro. 其实我们只需要app01-dev, app02-dev, app01-pro, app02-pro 这4个Namespace就可。
是否可以修改UI中创建Namespace的设计,或者是我的理解有误,能否帮忙解答一下我的困惑。 Thanks