From 31a7274eba9dfe40aeed5eaddf82f0183a0c3ac4 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Wed, 25 Sep 2024 11:51:20 -0400 Subject: [PATCH] remove soft serve Signed-off-by: Michael Thomson --- .../kustomization-soft-serve.yaml | 18 -------- .../namespaces/namespace-soft-serve.yaml | 4 -- soft-serve/soft-serve-deployment.yaml | 45 ------------------- soft-serve/soft-serve-dns-endpoint.yaml | 16 ------- soft-serve/soft-serve-ingress.yaml | 24 ---------- soft-serve/soft-serve-pvc.yaml | 11 ----- soft-serve/soft-serve-secret.yaml | 21 --------- soft-serve/soft-serve-service.yaml | 24 ---------- 8 files changed, 163 deletions(-) delete mode 100644 bootstrap/kustomizations/kustomization-soft-serve.yaml delete mode 100644 bootstrap/namespaces/namespace-soft-serve.yaml delete mode 100644 soft-serve/soft-serve-deployment.yaml delete mode 100644 soft-serve/soft-serve-dns-endpoint.yaml delete mode 100644 soft-serve/soft-serve-ingress.yaml delete mode 100644 soft-serve/soft-serve-pvc.yaml delete mode 100644 soft-serve/soft-serve-secret.yaml delete mode 100644 soft-serve/soft-serve-service.yaml diff --git a/bootstrap/kustomizations/kustomization-soft-serve.yaml b/bootstrap/kustomizations/kustomization-soft-serve.yaml deleted file mode 100644 index c0110ff..0000000 --- a/bootstrap/kustomizations/kustomization-soft-serve.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: soft-serve - namespace: flux-system -spec: - interval: 15m - path: ./soft-serve - prune: true # remove any elements later removed from the above path - timeout: 2m # if not set, this defaults to interval duration, which is 1h - sourceRef: - kind: GitRepository - name: flux-system - healthChecks: - - apiVersion: apps/v1 - kind: Deployment - name: soft-serve - namespace: soft-serve diff --git a/bootstrap/namespaces/namespace-soft-serve.yaml b/bootstrap/namespaces/namespace-soft-serve.yaml deleted file mode 100644 index bd1e618..0000000 --- a/bootstrap/namespaces/namespace-soft-serve.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: soft-serve diff --git a/soft-serve/soft-serve-deployment.yaml b/soft-serve/soft-serve-deployment.yaml deleted file mode 100644 index 849b66e..0000000 --- a/soft-serve/soft-serve-deployment.yaml +++ /dev/null @@ -1,45 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: soft-serve - namespace: soft-serve -spec: - replicas: 1 - selector: - matchLabels: - app: soft-serve - strategy: - type: Recreate - template: - metadata: - labels: - app: soft-serve - spec: - containers: - - env: - - name: SOFT_SERVE_INITIAL_ADMIN_KEYS - valueFrom: - secretKeyRef: - name: soft-serve-secret - key: admin_key - - name: SOFT_SERVE_SSH_PUBLIC_URL - value: ssh://git.michaelthomson.dev - image: charmcli/soft-serve:latest - name: soft-serve - ports: - - containerPort: 23231 - protocol: TCP - - containerPort: 23232 - protocol: TCP - - containerPort: 23233 - protocol: TCP - - containerPort: 9418 - protocol: TCP - volumeMounts: - - mountPath: /soft-serve - name: soft-serve-pvc - restartPolicy: Always - volumes: - - name: soft-serve-pvc - persistentVolumeClaim: - claimName: soft-serve-pvc diff --git a/soft-serve/soft-serve-dns-endpoint.yaml b/soft-serve/soft-serve-dns-endpoint.yaml deleted file mode 100644 index 694bb20..0000000 --- a/soft-serve/soft-serve-dns-endpoint.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: externaldns.k8s.io/v1alpha1 -kind: DNSEndpoint -metadata: - name: git.michaelthomson.dev - namespace: soft-serve -spec: - endpoints: - - dnsName: git.michaelthomson.dev - recordTTL: 180 - recordType: CNAME - targets: - - michaelthomson.ddns.net - providerSpecific: - - name: external-dns.alpha.kubernetes.io/cloudflare-proxied - value: "false" - diff --git a/soft-serve/soft-serve-ingress.yaml b/soft-serve/soft-serve-ingress.yaml deleted file mode 100644 index 39c8e56..0000000 --- a/soft-serve/soft-serve-ingress.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: soft-serve - namespace: soft-serve - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" -spec: - rules: - - host: git.michaelthomson.dev - http: - paths: - - pathType: ImplementationSpecific - path: / - backend: - service: - name: git - port: - name: http - tls: - - hosts: - - git.michaelthomson.dev - secretName: letsencrypt-wildcard-cert-michaelthomson.dev diff --git a/soft-serve/soft-serve-pvc.yaml b/soft-serve/soft-serve-pvc.yaml deleted file mode 100644 index 355cb58..0000000 --- a/soft-serve/soft-serve-pvc.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: soft-serve-pvc - namespace: soft-serve -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 10Gi diff --git a/soft-serve/soft-serve-secret.yaml b/soft-serve/soft-serve-secret.yaml deleted file mode 100644 index 9aaffce..0000000 --- a/soft-serve/soft-serve-secret.yaml +++ /dev/null @@ -1,21 +0,0 @@ -{ - "kind": "SealedSecret", - "apiVersion": "bitnami.com/v1alpha1", - "metadata": { - "name": "soft-serve-secret", - "namespace": "soft-serve", - "creationTimestamp": null - }, - "spec": { - "template": { - "metadata": { - "name": "soft-serve-secret", - "namespace": "soft-serve", - "creationTimestamp": null - } - }, - "encryptedData": { - "admin_key": "AgCnn/nI29wwvcFQmqh/J5fPa3r4BDwLwesyE+EVC3lWFGVb7tdqysEfTgBg/KCtIRlj5nTicLNFd02iS0VARA78h736tWwZSNQDiolJNYGmSKrMvPzNgeA+wuKZJ6ybMpmun/4T7OZ2WeMYRwp50mk2H29SRLBYq1p0r8uzbg4UzgUXqBoqP4ON7OZsG4Gov9otZk8cUS6S75fWvisLNKLa5gw4t5vrDRroibYx1euW1kJ4neLUtE5Un/BKR+wqaPHpQYr3+X1cIXy3ozWz2OEoKekBgDq4ckyuL57T9f7Zw5bThT+9Om0ja/52wKAFAudppkvUXPkdRx08H97FgNGECyA7y0Zy6SmcHV0z19rWPZvmWtDtXzVeznhsjFGjPQeZBOKzCVW1ayc7OkgFUBbmdoMRSJyMbE9P92gJ14p7o2dIoLxwMomm8t4qysa90nqCDxZSA54ZlYa4KGy+Nn8HZaRp8n7f1+eUGVNYpqkHAVE2OJUSILKIaHVCNjB3ErTC8W/68Pfe3Pq7GYGEowhPxfW+XZGEd+GpPXP3BwcI6sSETl3mBX+x0+tzPrmNEi1W7aZMzHfnv0b5AOIq+jR83yz1UNlJr5AwSxzcBAjQj0PRw9WdCL3at8i160680NsXfBc1uV0SehCLzkjOOhYCfckrn1hoEV/BGT3KaqZlbcQyhdiqvKKRtSiXAqAautmrlZBcdaurGE1ZJIwEyRU8YmtMDggBeKlGeIPx9VCBKKaTRkDW6oDCPibZuTo6NB5d1ChVIHQj5RcG6YQ2vHZ4YdTiLJjGZw13WH2RZN0pqA==" - } - } -} diff --git a/soft-serve/soft-serve-service.yaml b/soft-serve/soft-serve-service.yaml deleted file mode 100644 index 2a2ee18..0000000 --- a/soft-serve/soft-serve-service.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: soft-serve - namespace: soft-serve - annotations: - metallb.universe.tf/loadBalancerIPs: 192.168.2.210 -spec: - type: LoadBalancer - ports: - - name: "23231" - port: 23231 - targetPort: 23231 - - name: "23232" - port: 23232 - targetPort: 23232 - - name: "23233" - port: 23233 - targetPort: 23233 - - name: "9418" - port: 9418 - targetPort: 9418 - selector: - app: soft-serve