⬆️ freshrss app-template v2

This commit is contained in:
auricom
2023-10-31 21:52:15 +01:00
parent 5db6f9e20f
commit 46d9914e05
4 changed files with 41 additions and 48 deletions

View File

@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.3
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -27,48 +27,59 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
annotations: main:
reloader.stakater.com/auto: "true" type: statefulset
initContainers: annotations:
01-init-db: reloader.stakater.com/auto: "true"
image: ghcr.io/auricom/postgres-init:15.4 initContainers:
imagePullPolicy: IfNotPresent init-db:
envFrom: image:
- secretRef: repository: ghcr.io/auricom/postgres-init
name: freshrss-secret tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
image: pullPolicy: IfNotPresent
repository: freshrss/freshrss envFrom: &envFrom
tag: 1.22.1 - secretRef:
name: freshrss-secret
containers:
main:
image:
repository: freshrss/freshrss
tag: 1.22.1
env:
TZ: ${TIMEZONE}
CRON_MIN: "18,48"
DOMAIN: "https://freshrss.${SECRET_CLUSTER_DOMAIN}/"
resources:
requests:
cpu: 50m
memory: 256Mi
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 1Gi
storageClass: rook-ceph-block
globalMounts:
- path: /var/www/FreshRSS/data
service: service:
main: main:
ports: ports:
http: http:
port: 80 port: 80
env:
TZ: ${TIMEZONE}
CRON_MIN: "18,48"
DOMAIN: "https://freshrss.${SECRET_CLUSTER_DOMAIN}/"
persistence:
config:
enabled: true
existingClaim: freshrss-config
mountPath: /var/www/FreshRSS/data
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: "nginx" className: "nginx"
annotations: annotations:
hajimari.io/icon: mdi:rss hajimari.io/icon: mdi:rss
hosts: hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host
resources:
requests:
cpu: 50m
memory: 256Mi

View File

@@ -8,4 +8,3 @@ resources:
- ./gatus.yaml - ./gatus.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ./volsync.yaml - ./volsync.yaml
- ./volume.yaml

View File

@@ -30,7 +30,7 @@ metadata:
name: freshrss name: freshrss
namespace: default namespace: default
spec: spec:
sourcePVC: freshrss-config sourcePVC: config-freshrss-0
trigger: trigger:
schedule: "0 7 * * *" schedule: "0 7 * * *"
restic: restic:

View File

@@ -1,17 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: freshrss-config
namespace: default
labels:
app.kubernetes.io/name: &name freshrss
app.kubernetes.io/instance: *name
snapshot.home.arpa/enabled: "true"
spec:
accessModes:
- ReadWriteOnce
storageClassName: rook-ceph-block
resources:
requests:
storage: 1Gi