From 19fa16f426191e62afa85e8475e2d25db00fc050 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 6 Apr 2024 16:03:46 +0100 Subject: [PATCH] Remove last of old cluster apps Signed-off-by: Marcus Noble --- manifests/_apps/blackhole.yaml | 25 ---- manifests/_apps/nginx-lb.yaml | 25 ---- manifests/_apps/twitter-profile-pic.yaml | 29 ----- manifests/_apps/weave-net.yaml | 18 --- manifests/weave-net/weave-net.yaml | 151 ----------------------- 5 files changed, 248 deletions(-) delete mode 100644 manifests/_apps/weave-net.yaml delete mode 100644 manifests/weave-net/weave-net.yaml diff --git a/manifests/_apps/blackhole.yaml b/manifests/_apps/blackhole.yaml index 7ac84c1..e63b199 100644 --- a/manifests/_apps/blackhole.yaml +++ b/manifests/_apps/blackhole.yaml @@ -1,30 +1,5 @@ apiVersion: argoproj.io/v1alpha1 kind: Application -metadata: - name: blackhole - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: cluster.fun - destination: - namespace: kube-system - name: cluster-fun (scaleway) - source: - path: manifests/blackhole - repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" - targetRevision: HEAD - syncPolicy: - automated: {} - syncOptions: - - CreateNamespace=true - ignoreDifferences: - - kind: Secret - jsonPointers: - - /data ---- -apiVersion: argoproj.io/v1alpha1 -kind: Application metadata: name: cluster-fun-blackhole namespace: argocd diff --git a/manifests/_apps/nginx-lb.yaml b/manifests/_apps/nginx-lb.yaml index b4c801b..7670572 100644 --- a/manifests/_apps/nginx-lb.yaml +++ b/manifests/_apps/nginx-lb.yaml @@ -1,30 +1,5 @@ apiVersion: argoproj.io/v1alpha1 kind: Application -metadata: - name: nginx-lb - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: cluster.fun - destination: - namespace: kube-system - name: cluster-fun (scaleway) - source: - path: manifests/nginx-lb - repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" - targetRevision: HEAD - syncPolicy: - automated: {} - syncOptions: - - CreateNamespace=true - ignoreDifferences: - - kind: Secret - jsonPointers: - - /data ---- -apiVersion: argoproj.io/v1alpha1 -kind: Application metadata: name: cluster-fun-nginx-lb namespace: argocd diff --git a/manifests/_apps/twitter-profile-pic.yaml b/manifests/_apps/twitter-profile-pic.yaml index 97346df..ff342e3 100644 --- a/manifests/_apps/twitter-profile-pic.yaml +++ b/manifests/_apps/twitter-profile-pic.yaml @@ -1,34 +1,5 @@ apiVersion: argoproj.io/v1alpha1 kind: Application -metadata: - name: twitter-profile-pic - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: cluster.fun - destination: - namespace: twitter-profile-pic - name: cluster-fun (scaleway) - source: - path: manifests/twitter-profile-pic - repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" - targetRevision: HEAD - syncPolicy: - automated: {} - syncOptions: - - CreateNamespace=true - ignoreDifferences: - - kind: Secret - jsonPointers: - - /data - - group: apps - kind: Deployment - jqPathExpressions: - - .spec.template.spec.containers[]?.image ---- -apiVersion: argoproj.io/v1alpha1 -kind: Application metadata: name: cluster-fun-twitter-profile-pic namespace: argocd diff --git a/manifests/_apps/weave-net.yaml b/manifests/_apps/weave-net.yaml deleted file mode 100644 index 3932c4c..0000000 --- a/manifests/_apps/weave-net.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: weave-net - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: cluster.fun - destination: - namespace: kube-system - name: cluster-fun (scaleway) - source: - path: manifests/weave-net - repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" - targetRevision: HEAD - syncPolicy: - automated: {} diff --git a/manifests/weave-net/weave-net.yaml b/manifests/weave-net/weave-net.yaml deleted file mode 100644 index 0159400..0000000 --- a/manifests/weave-net/weave-net.yaml +++ /dev/null @@ -1,151 +0,0 @@ -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: weave-net - namespace: kube-system - labels: - k8s-app: weave - k8s.scw.cloud/cni: weave - k8s.scw.cloud/object: DaemonSet - k8s.scw.cloud/system: cni - name: weave-net - scaleway-autogenerated-config: network -spec: - minReadySeconds: 5 - revisionHistoryLimit: 10 - selector: - matchLabels: - k8s-app: weave - template: - metadata: - labels: - k8s-app: weave - name: weave-net - spec: - initContainers: - - command: - - /home/weave/init.sh - image: docker.io/weaveworks/weave-kube:2.8.1 - imagePullPolicy: IfNotPresent - name: weave-init - resources: {} - securityContext: - privileged: true - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /host/opt - name: cni-bin - - mountPath: /host/home - name: cni-bin2 - - mountPath: /host/etc - name: cni-conf - - mountPath: /lib/modules - name: lib-modules - - mountPath: /run/xtables.lock - name: xtables-lock - containers: - - command: - - /home/weave/launch.sh - env: - - name: INIT_CONTAINER - value: "true" - - name: HOSTNAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: IPALLOC_RANGE - value: 192.168.0.0/18 - image: docker.io/weaveworks/weave-kube:2.8.1 - imagePullPolicy: IfNotPresent - livenessProbe: - failureThreshold: 3 - httpGet: - host: 127.0.0.1 - path: /status - port: 6784 - scheme: HTTP - initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 5 - name: weave - resources: - requests: - cpu: 50m - securityContext: - privileged: true - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /weavedb - name: weavedb - - mountPath: /host/var/lib/dbus - name: dbus - readOnly: true - - mountPath: /host/etc/machine-id - name: cni-machine-id - readOnly: true - - mountPath: /run/xtables.lock - name: xtables-lock - - env: - - name: HOSTNAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - image: docker.io/weaveworks/weave-npc:2.8.1 - imagePullPolicy: IfNotPresent - name: weave-npc - resources: - requests: - cpu: 50m - securityContext: - privileged: true - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /run/xtables.lock - name: xtables-lock - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - securityContext: - seLinuxOptions: {} - serviceAccount: weave-net - serviceAccountName: weave-net - tolerations: - - operator: Exists - volumes: - - hostPath: - path: /var/lib/weave - type: "" - name: weavedb - - hostPath: - path: /opt - type: "" - name: cni-bin - - hostPath: - path: /home - type: "" - name: cni-bin2 - - hostPath: - path: /etc - type: "" - name: cni-conf - - hostPath: - path: /etc/machine-id - type: "" - name: cni-machine-id - - hostPath: - path: /var/lib/dbus - type: "" - name: dbus - - hostPath: - path: /lib/modules - type: "" - name: lib-modules - - hostPath: - path: /run/xtables.lock - type: FileOrCreate - name: xtables-lock