diff --git a/bootstrap/helmrepositories/helmrepository-homepage.yaml b/bootstrap/helmrepositories/helmrepository-homepage.yaml deleted file mode 100644 index 7ec16da..0000000 --- a/bootstrap/helmrepositories/helmrepository-homepage.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: homepage - namespace: flux-system -spec: - interval: 15m - url: http://jameswynn.github.io/helm-charts diff --git a/bootstrap/kustomizations/kustomization-homepage.yaml b/bootstrap/kustomizations/kustomization-homepage.yaml deleted file mode 100644 index 6af2b97..0000000 --- a/bootstrap/kustomizations/kustomization-homepage.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: homepage - namespace: flux-system -spec: - interval: 15m - path: ./homepage - 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: helm.toolkit.fluxcd.io/v2beta2 - kind: HelmRelease - name: homepage - namespace: homepage diff --git a/bootstrap/kustomizations/kustomization-taskchampion.yaml b/bootstrap/kustomizations/kustomization-taskchampion.yaml deleted file mode 100644 index 0b22313..0000000 --- a/bootstrap/kustomizations/kustomization-taskchampion.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: taskchampion - namespace: flux-system -spec: - interval: 15m - path: ./taskchampion - 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: taskchampion - namespace: taskchampion diff --git a/bootstrap/namespaces/namespace-homepage.yaml b/bootstrap/namespaces/namespace-homepage.yaml deleted file mode 100644 index 19d1b55..0000000 --- a/bootstrap/namespaces/namespace-homepage.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: homepage diff --git a/bootstrap/namespaces/namespace-taskchampion.yaml b/bootstrap/namespaces/namespace-taskchampion.yaml deleted file mode 100644 index 4c08cc2..0000000 --- a/bootstrap/namespaces/namespace-taskchampion.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: taskchampion diff --git a/homepage/dns-endpoint.yaml b/homepage/dns-endpoint.yaml deleted file mode 100644 index f980626..0000000 --- a/homepage/dns-endpoint.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: externaldns.k8s.io/v1alpha1 -kind: DNSEndpoint -metadata: - name: home.michaelthomson.dev - namespace: homepage -spec: - endpoints: - - dnsName: home.michaelthomson.dev - recordTTL: 180 - recordType: CNAME - targets: - - server.michaelthomson.dev diff --git a/homepage/helmrelease-homepage.yaml b/homepage/helmrelease-homepage.yaml deleted file mode 100644 index c4feca2..0000000 --- a/homepage/helmrelease-homepage.yaml +++ /dev/null @@ -1,86 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: homepage - namespace: homepage -spec: - chart: - spec: - chart: homepage - version: 2.x - sourceRef: - kind: HelmRepository - name: homepage - namespace: flux-system - interval: 15m - timeout: 5m - releaseName: homepage - values: - enableRbac: true - - serviceAccount: - create: true - - ingress: - main: - enabled: true - labels: - gethomepage.dev/enabled: "true" - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" - ingressClassName: "traefik" - hosts: - - host: &host "home.michaelthomson.dev" - paths: - - path: / - pathType: Prefix - tls: - - hosts: - - *host - secretName: letsencrypt-wildcard-cert-michaelthomson.dev - - config: - bookmarks: - - Developer: - - Github: - - abbr: GH - href: https://github.com/ - services: - - My First Group: - - My First Service: - href: http://localhost/ - description: Homepage is awesome - - - My Second Group: - - My Second Service: - href: http://localhost/ - description: Homepage is the best - - - My Third Group: - - My Third Service: - href: http://localhost/ - description: Homepage is 😎 - widgets: - - resources: - backend: kubernetes - expanded: true - cpu: true - memory: true - - search: - provider: duckduckgo - target: _blank - - kubernetes: - cluster: - show: true - cpu: true - memory: true - showLabel: true - label: "cluster" - nodes: - show: true - cpu: true - memory: true - showLabel: true - kubernetes: - mode: cluster diff --git a/taskchampion/deployment.yaml b/taskchampion/deployment.yaml deleted file mode 100644 index 6ffcc4f..0000000 --- a/taskchampion/deployment.yaml +++ /dev/null @@ -1,40 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: taskchampion - namespace: taskchampion -spec: - selector: - matchLabels: - app: taskchampion - template: - metadata: - labels: - app: taskchampion - spec: - initContainers: - - name: mkdir - image: busybox:1.28 - command: ['sh', '-c', 'chown -R 100:100 /tss'] - volumeMounts: - - name: data - mountPath: /tss - containers: - - name: taskchampion - image: ghcr.io/gothenburgbitfactory/taskchampion-sync-server:latest - imagePullPolicy: Always - args: ["--data-dir", "/tss", "--port", "8080"] - env: - - name: RUST_LOG - value: info - ports: - - containerPort: 8080 - name: http - protocol: TCP - volumeMounts: - - name: data - mountPath: /tss - volumes: - - name: data - persistentVolumeClaim: - claimName: taskchampion-data diff --git a/taskchampion/dns-endpoint.yaml b/taskchampion/dns-endpoint.yaml deleted file mode 100644 index 7007b64..0000000 --- a/taskchampion/dns-endpoint.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: externaldns.k8s.io/v1alpha1 -kind: DNSEndpoint -metadata: - name: taskchampion.michaelthomson.dev - namespace: taskchampion -spec: - endpoints: - - dnsName: taskchampion.michaelthomson.dev - recordTTL: 180 - recordType: CNAME - targets: - - michaelthomson.ddns.net - providerSpecific: - - name: external-dns.alpha.kubernetes.io/cloudflare-proxied - value: "true" diff --git a/taskchampion/ingress.yaml b/taskchampion/ingress.yaml deleted file mode 100644 index 04724ba..0000000 --- a/taskchampion/ingress.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: taskchampion - namespace: taskchampion - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" -spec: - rules: - - host: taskchampion.michaelthomson.dev - http: - paths: - - pathType: ImplementationSpecific - path: / - backend: - service: - name: taskchampion - port: - name: http - tls: - - hosts: - - taskchampion.michaelthomson.dev - secretName: letsencrypt-wildcard-cert-michaelthomson.dev diff --git a/taskchampion/pvc-data.yaml b/taskchampion/pvc-data.yaml deleted file mode 100644 index 6609399..0000000 --- a/taskchampion/pvc-data.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: taskchampion-data - namespace: taskchampion -spec: - resources: - requests: - storage: 1Gi - storageClassName: longhorn - accessModes: - - ReadWriteOnce diff --git a/taskchampion/service.yaml b/taskchampion/service.yaml deleted file mode 100644 index df47c35..0000000 --- a/taskchampion/service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: taskchampion - namespace: taskchampion -spec: - selector: - app: taskchampion - ports: - - port: 80 - targetPort: http - name: http