From 2eaf6f6d51bea1d4ccdb466263b828e7df3e1f5f Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Fri, 16 Feb 2024 19:36:13 +0000 Subject: [PATCH] Remove everything. --- apps/apps-namespace.yaml | 4 ---- apps/whoami.yaml | 5 ----- apps/whoami/deployment.yaml | 20 ------------------- apps/whoami/ingress.yaml | 16 --------------- apps/whoami/kustomization.yaml | 5 ----- apps/whoami/service.yaml | 14 ------------- clusters/talos/flux-system/apps.yaml | 14 ------------- .../talos/flux-system/infrastructure.yaml | 14 ------------- clusters/talos/flux-system/kustomization.yaml | 2 -- infrastructure/ingress-namespace.yaml | 4 ---- infrastructure/traefik.yaml | 5 ----- infrastructure/traefik/kustomization.yaml | 5 ----- .../traefik/traefik-helm-release.yaml | 18 ----------------- .../traefik/traefik-repository.yaml | 8 -------- infrastructure/traefik/values.yaml | 0 15 files changed, 134 deletions(-) delete mode 100644 apps/apps-namespace.yaml delete mode 100644 apps/whoami.yaml delete mode 100644 apps/whoami/deployment.yaml delete mode 100644 apps/whoami/ingress.yaml delete mode 100644 apps/whoami/kustomization.yaml delete mode 100644 apps/whoami/service.yaml delete mode 100644 clusters/talos/flux-system/apps.yaml delete mode 100644 clusters/talos/flux-system/infrastructure.yaml delete mode 100644 infrastructure/ingress-namespace.yaml delete mode 100644 infrastructure/traefik.yaml delete mode 100644 infrastructure/traefik/kustomization.yaml delete mode 100644 infrastructure/traefik/traefik-helm-release.yaml delete mode 100644 infrastructure/traefik/traefik-repository.yaml delete mode 100644 infrastructure/traefik/values.yaml diff --git a/apps/apps-namespace.yaml b/apps/apps-namespace.yaml deleted file mode 100644 index 01113b9..0000000 --- a/apps/apps-namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: apps \ No newline at end of file diff --git a/apps/whoami.yaml b/apps/whoami.yaml deleted file mode 100644 index b0b2d7e..0000000 --- a/apps/whoami.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- apps-namespace.yaml -- ./whoami \ No newline at end of file diff --git a/apps/whoami/deployment.yaml b/apps/whoami/deployment.yaml deleted file mode 100644 index bc47eae..0000000 --- a/apps/whoami/deployment.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: whoami - namespace: apps -spec: - selector: - matchLabels: - app: whoami - replicas: 1 - template: - metadata: - labels: - app: whoami - spec: - containers: - - name: whoami - image: traefik/whoami - ports: - - containerPort: 80 \ No newline at end of file diff --git a/apps/whoami/ingress.yaml b/apps/whoami/ingress.yaml deleted file mode 100644 index 9ca58cb..0000000 --- a/apps/whoami/ingress.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: whoami-ingress - namespace: apps -spec: - rules: - - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: whoami - port: - name: web \ No newline at end of file diff --git a/apps/whoami/kustomization.yaml b/apps/whoami/kustomization.yaml deleted file mode 100644 index f553eb8..0000000 --- a/apps/whoami/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: apps -resources: -- deployment.yaml \ No newline at end of file diff --git a/apps/whoami/service.yaml b/apps/whoami/service.yaml deleted file mode 100644 index 21dfb58..0000000 --- a/apps/whoami/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: whoami - namespace: apps - -spec: - ports: - - name: web - port: 80 - targetPort: web - - selector: - app: whoami \ No newline at end of file diff --git a/clusters/talos/flux-system/apps.yaml b/clusters/talos/flux-system/apps.yaml deleted file mode 100644 index b423764..0000000 --- a/clusters/talos/flux-system/apps.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: apps - namespace: flux-system -spec: - interval: 1h - retryInterval: 1m - timeout: 5m - sourceRef: - kind: GitRepository - name: flux-system - path: ./apps - prune: true \ No newline at end of file diff --git a/clusters/talos/flux-system/infrastructure.yaml b/clusters/talos/flux-system/infrastructure.yaml deleted file mode 100644 index 19bcb7f..0000000 --- a/clusters/talos/flux-system/infrastructure.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: infrastructure - namespace: flux-system -spec: - interval: 1h - retryInterval: 1m - timeout: 5m - sourceRef: - kind: GitRepository - name: flux-system - path: ./infrastructure - prune: true \ No newline at end of file diff --git a/clusters/talos/flux-system/kustomization.yaml b/clusters/talos/flux-system/kustomization.yaml index 395a315..3842229 100644 --- a/clusters/talos/flux-system/kustomization.yaml +++ b/clusters/talos/flux-system/kustomization.yaml @@ -3,5 +3,3 @@ kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml -# - infrastructure.yaml -# - apps.yaml diff --git a/infrastructure/ingress-namespace.yaml b/infrastructure/ingress-namespace.yaml deleted file mode 100644 index 9011a7f..0000000 --- a/infrastructure/ingress-namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: ingress \ No newline at end of file diff --git a/infrastructure/traefik.yaml b/infrastructure/traefik.yaml deleted file mode 100644 index 7bf66d1..0000000 --- a/infrastructure/traefik.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ingress-namespace.yaml -- ./traefik \ No newline at end of file diff --git a/infrastructure/traefik/kustomization.yaml b/infrastructure/traefik/kustomization.yaml deleted file mode 100644 index 97368c6..0000000 --- a/infrastructure/traefik/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- traefik-repository.yaml -- traefik-helm-release.yaml diff --git a/infrastructure/traefik/traefik-helm-release.yaml b/infrastructure/traefik/traefik-helm-release.yaml deleted file mode 100644 index 8fc3720..0000000 --- a/infrastructure/traefik/traefik-helm-release.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: traefik - namespace: ingress -spec: - interval: 5m - chart: - spec: - chart: traefik - version: '26.0.0' - sourceRef: - kind: HelmRepository - name: traefik - namespace: ingress - interval: 15m - valuesFiles: - - values.yaml \ No newline at end of file diff --git a/infrastructure/traefik/traefik-repository.yaml b/infrastructure/traefik/traefik-repository.yaml deleted file mode 100644 index eeb88f3..0000000 --- a/infrastructure/traefik/traefik-repository.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: traefik - namespace: ingress -spec: - interval: 15m - url: https://traefik.github.io/charts \ No newline at end of file diff --git a/infrastructure/traefik/values.yaml b/infrastructure/traefik/values.yaml deleted file mode 100644 index e69de29..0000000