most-kilobyte-1525
05/09/2025, 2:48 PMconst argoCDNamespace = new k8s.core.v1.Namespace("argocd-ns", {
metadata: {
name: "argocd",
},
});
const argoCD = new k8s.yaml.v2.ConfigFile(
"argocd",
{
file: "<https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/ha/install.yaml>",
},
{ dependsOn: [argoCDNamespace] }
);
const argoCDRootApp = new k8s.yaml.v2.ConfigFile(
"argocd-root-app",
{
file: "../../root-argocd-app.yaml",
},
{ dependsOn: [argoCD] }
);
I want to apply the manifests in argocd namespace but it is applying it in default namespace. How to specify the namespace?
Is transformations the way to go?