From 6d7ce41fcbe5e88691e171f632c3b0cd062ae278 Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Sat, 5 Feb 2022 17:04:28 +0100 Subject: [PATCH] feat: remove recipes-copy --- cluster/apps/data/kustomization.yaml | 1 - .../apps/data/recipes-copy/helm-release.yaml | 68 ------------------- .../apps/data/recipes-copy/kustomization.yaml | 5 -- cluster/apps/data/recipes-copy/volume.yaml | 15 ---- 4 files changed, 89 deletions(-) delete mode 100644 cluster/apps/data/recipes-copy/helm-release.yaml delete mode 100644 cluster/apps/data/recipes-copy/kustomization.yaml delete mode 100644 cluster/apps/data/recipes-copy/volume.yaml diff --git a/cluster/apps/data/kustomization.yaml b/cluster/apps/data/kustomization.yaml index f42b0e36b..58e384144 100644 --- a/cluster/apps/data/kustomization.yaml +++ b/cluster/apps/data/kustomization.yaml @@ -13,7 +13,6 @@ resources: - pgbackups - postgresql-kube - recipes - - recipes-copy - redis - resilio-sync - sharry diff --git a/cluster/apps/data/recipes-copy/helm-release.yaml b/cluster/apps/data/recipes-copy/helm-release.yaml deleted file mode 100644 index 5ece4058a..000000000 --- a/cluster/apps/data/recipes-copy/helm-release.yaml +++ /dev/null @@ -1,68 +0,0 @@ ---- -apiVersion: helm.toolkit.fluxcd.io/v2beta1 -kind: HelmRelease -metadata: - name: recipes-copy - namespace: data -spec: - interval: 5m - chart: - spec: - # renovate: registryUrl=https://k8s-at-home.com/charts/ - chart: recipes - version: 6.3.0 - sourceRef: - kind: HelmRepository - name: k8s-at-home-charts - namespace: flux-system - interval: 5m - values: - image: - repository: vabene1111/recipes - tag: 1.0.7 - pullPolicy: IfNotPresent - - env: - SECRET_KEY: ${SECRET_RECIPES_SECRET_KEY} - DEBUG: "0" - ALLOWED_HOSTS: "*" - DB_ENGINE: django.db.backends.postgresql - POSTGRES_HOST: postgresql-kube.data.svc.cluster.local. - POSTGRES_PORT: 5432 - POSTGRES_DB: recipes-copy - POSTGRES_USER: recipes - POSTGRES_PASSWORD: ${SECRET_RECIPES_DB_PASSWORD} - GUNICORN_MEDIA: "0" - TIMEZONE: Europe/Paris - FRACTION_PREF_DEFAULT: "0" - COMMENT_PREF_DEFAULT: "1" - SHOPPING_MIN_AUTOSYNC_INTERVAL: "5" - - sidecar: - image: - repository: nginx - tag: 1.21.6 - pullPolicy: IfNotPresent - - persistence: - media: - enabled: true - existingClaim: recipes-copy-files - mountPath: /opt/recipes/mediafiles - static: - enabled: true - type: emptyDir - - ingress: - main: - enabled: true - ingressClassName: "nginx" - hosts: - - host: "recipes-copy.${SECRET_CLUSTER_DOMAIN}" - paths: - - path: / - pathType: Prefix - tls: - - hosts: - - "recipes-copy.${SECRET_CLUSTER_DOMAIN}" - secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}" diff --git a/cluster/apps/data/recipes-copy/kustomization.yaml b/cluster/apps/data/recipes-copy/kustomization.yaml deleted file mode 100644 index 21f1d9e05..000000000 --- a/cluster/apps/data/recipes-copy/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - helm-release.yaml - - volume.yaml diff --git a/cluster/apps/data/recipes-copy/volume.yaml b/cluster/apps/data/recipes-copy/volume.yaml deleted file mode 100644 index 8bbef921f..000000000 --- a/cluster/apps/data/recipes-copy/volume.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: recipes-copy-files - namespace: data - labels: - kasten-io/backup: "true" -spec: - accessModes: - - ReadWriteOnce - storageClassName: rook-ceph-block - resources: - requests: - storage: 1Gi