Skip to content

Commit 2d6b42d

Browse files
committed
feat(atlantis): migrate remaining 13 namespaces to flux/ pattern, retire cluster-apps
Move actions-runner-system, cert-manager, cnpg-system, db, default, envoy-gateway-system, external-dns, garage, gateway, gateway-system, it-tools, kube-system, and rook-ceph each to a flux/<ns>.yaml file with Namespace + {ns}-apps parent FK (wait: false). External-secrets- dependent namespaces dependsOn external-secrets-apps. rook-ceph keeps the privileged PSS labels. Drop components/common and Namespace patches from each apps/<ns>/ kustomization.yaml. Remove the now-unused apps/default/namespace.yaml, apps/kustomization.yaml, and flux/apps.yaml (cluster-apps wiring). Live FKs in all 13 namespaces were suspended out-of-band so cluster-apps' removal doesn't cascade-delete their managed resources during takeover.
1 parent 00d9fc1 commit 2d6b42d

29 files changed

Lines changed: 402 additions & 72 deletions

kubernetes/clusters/atlantis-k8s01/apps/actions-runner-system/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: actions-runner-system
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./actions-runner-controller.yaml

kubernetes/clusters/atlantis-k8s01/apps/cert-manager/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: cert-manager
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./cert-manager.yaml

kubernetes/clusters/atlantis-k8s01/apps/cnpg-system/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: cnpg-system
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./cloudnative-pg.yaml

kubernetes/clusters/atlantis-k8s01/apps/db/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: db
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./cloudnative-pg.yaml

kubernetes/clusters/atlantis-k8s01/apps/default/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: default
6+
components:
7+
- ../../../../components/flux-post-build-variables
68
resources:
79
- ./app-template.yaml
810
- ./k8s-cluster-info.yaml
911
- ./k8s-cluster-secrets.yaml
10-
- ./namespace.yaml

kubernetes/clusters/atlantis-k8s01/apps/default/namespace.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

kubernetes/clusters/atlantis-k8s01/apps/envoy-gateway-system/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: envoy-gateway-system
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./envoy-gateway.yaml

kubernetes/clusters/atlantis-k8s01/apps/external-dns/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: external-dns
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./cloudflare.yaml

kubernetes/clusters/atlantis-k8s01/apps/garage/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: garage
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./nas-garage.yaml

kubernetes/clusters/atlantis-k8s01/apps/gateway-system/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
namespace: gateway-system
66
components:
7-
- ../../../../components/common
87
- ../../../../components/flux-post-build-variables
98
resources:
109
- ./gateways.yaml

0 commit comments

Comments
 (0)