feat: remove recipes-copy

This commit is contained in:
auricom
2022-02-05 17:04:28 +01:00
parent 28cdf68be0
commit 6d7ce41fcb
4 changed files with 0 additions and 89 deletions

View File

@@ -13,7 +13,6 @@ resources:
- pgbackups
- postgresql-kube
- recipes
- recipes-copy
- redis
- resilio-sync
- sharry

View File

@@ -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}"

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- volume.yaml

View File

@@ -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