diff --git a/infra/clusters/argocd-apps/templates/cluster-compositions/aws-composition.yaml b/infra/clusters/argocd-apps/templates/cluster-compositions/aws-composition.yaml index ac3332f..fe6fca0 100644 --- a/infra/clusters/argocd-apps/templates/cluster-compositions/aws-composition.yaml +++ b/infra/clusters/argocd-apps/templates/cluster-compositions/aws-composition.yaml @@ -12,3 +12,6 @@ spec: destination: server: https://kubernetes.default.svc namespace: crossplane + syncPolicy: + automated: + prune: true diff --git a/infra/clusters/argocd-apps/templates/dev/dev-cluster-apps.yaml b/infra/clusters/argocd-apps/templates/dev/dev-cluster-apps.yaml index b4842a0..8cdf101 100644 --- a/infra/clusters/argocd-apps/templates/dev/dev-cluster-apps.yaml +++ b/infra/clusters/argocd-apps/templates/dev/dev-cluster-apps.yaml @@ -12,3 +12,6 @@ spec: destination: server: https://kubernetes.default.svc namespace: crossplane + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/infra/clusters/dev/dev-eks.yaml b/infra/clusters/dev/clusterconfig/dev-eks.yaml similarity index 100% rename from infra/clusters/dev/dev-eks.yaml rename to infra/clusters/dev/clusterconfig/dev-eks.yaml diff --git a/infra/clusters/clusters-main-app.yaml b/infra/clusters/prod/clusterconfig/clusters-main-app.yaml similarity index 89% rename from infra/clusters/clusters-main-app.yaml rename to infra/clusters/prod/clusterconfig/clusters-main-app.yaml index 4bbdba1..93397c1 100644 --- a/infra/clusters/clusters-main-app.yaml +++ b/infra/clusters/prod/clusterconfig/clusters-main-app.yaml @@ -15,3 +15,6 @@ spec: destination: server: https://kubernetes.default.svc namespace: tekton-pipelines + syncPolicy: + automated: + prune: true \ No newline at end of file