mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ wallabag app-template v2
This commit is contained in:
@@ -10,7 +10,7 @@ spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 1.5.1
|
||||
version: 2.0.3
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjw-s
|
||||
@@ -29,40 +29,66 @@ spec:
|
||||
dependsOn:
|
||||
- name: wallabag-redis
|
||||
values:
|
||||
controller:
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
initContainers:
|
||||
01-init-db:
|
||||
image: ghcr.io/auricom/postgres-init:15.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom: &envFrom
|
||||
- secretRef:
|
||||
name: wallabag-secret
|
||||
02-init-migrate:
|
||||
image: wallabag/wallabag:2.6.7
|
||||
envFrom: *envFrom
|
||||
env: &env
|
||||
SYMFONY__ENV__DATABASE_DRIVER: pdo_pgsql
|
||||
SYMFONY__ENV__DOMAIN_NAME: https://wallabag.${SECRET_CLUSTER_DOMAIN}
|
||||
SYMFONY__ENV__FOSUSER_REGISTRATION: "true"
|
||||
SYMFONY__ENV__FOSUSER_CONFIRMATION: "true"
|
||||
SYMFONY__ENV__FROM_EMAIL: wallabag@${SECRET_DOMAIN}
|
||||
SYMFONY__ENV__MAILER_HOST: smtp-relay.default.svc.cluster.local.
|
||||
SYMFONY__ENV__MAILER_PORT: "2525"
|
||||
SYMFONY__ENV__REDIS_HOST: wallabag-redis.default.svc.cluster.local.
|
||||
SYMFONY__ENV__SERVER_NAME: Wallabag
|
||||
command:
|
||||
- /var/www/wallabag/bin/console
|
||||
- doctrine:migrations:migrate
|
||||
- --env=prod
|
||||
- --no-interaction
|
||||
image:
|
||||
repository: wallabag/wallabag
|
||||
tag: 2.6.7
|
||||
envFrom: *envFrom
|
||||
env: *env
|
||||
enableServiceLinks: false
|
||||
defaultPodOptions:
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
controllers:
|
||||
main:
|
||||
type: statefulset
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
pod:
|
||||
enableServiceLinks: false
|
||||
initContainers:
|
||||
01-init-db:
|
||||
image:
|
||||
repository: ghcr.io/auricom/postgres-init
|
||||
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
|
||||
pullPolicy: IfNotPresent
|
||||
envFrom: &envFrom
|
||||
- secretRef:
|
||||
name: wallabag-secret
|
||||
02-init-migrate:
|
||||
image:
|
||||
repository: wallabag/wallabag
|
||||
tag: 2.6.7
|
||||
envFrom: *envFrom
|
||||
env: &env
|
||||
SYMFONY__ENV__DATABASE_DRIVER: pdo_pgsql
|
||||
SYMFONY__ENV__DOMAIN_NAME: https://wallabag.${SECRET_CLUSTER_DOMAIN}
|
||||
SYMFONY__ENV__FOSUSER_REGISTRATION: "true"
|
||||
SYMFONY__ENV__FOSUSER_CONFIRMATION: "true"
|
||||
SYMFONY__ENV__FROM_EMAIL: wallabag@${SECRET_DOMAIN}
|
||||
SYMFONY__ENV__MAILER_HOST: smtp-relay.default.svc.cluster.local.
|
||||
SYMFONY__ENV__MAILER_PORT: "2525"
|
||||
SYMFONY__ENV__REDIS_HOST: wallabag-redis.default.svc.cluster.local.
|
||||
SYMFONY__ENV__SERVER_NAME: Wallabag
|
||||
command:
|
||||
- /var/www/wallabag/bin/console
|
||||
- doctrine:migrations:migrate
|
||||
- --env=prod
|
||||
- --no-interaction
|
||||
statefulset:
|
||||
volumeClaimTemplates:
|
||||
- name: config
|
||||
accessMode: ReadWriteOnce
|
||||
size: 2Gi
|
||||
storageClass: rook-ceph-block
|
||||
globalMounts:
|
||||
- path: /images
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: wallabag/wallabag
|
||||
tag: 2.6.7
|
||||
envFrom: *envFrom
|
||||
env: *env
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 250Mi
|
||||
limits:
|
||||
memory: 512Mi
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
@@ -71,7 +97,7 @@ spec:
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
className: "nginx"
|
||||
annotations:
|
||||
external-dns.home.arpa/enabled: "true"
|
||||
hajimari.io/icon: mdi:newspaper-variant
|
||||
@@ -79,19 +105,9 @@ spec:
|
||||
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
service:
|
||||
name: main
|
||||
port: http
|
||||
tls:
|
||||
- hosts:
|
||||
- *host
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
persistence:
|
||||
images:
|
||||
enabled: true
|
||||
existingClaim: wallabag-images
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 250Mi
|
||||
limits:
|
||||
memory: 512Mi
|
||||
|
@@ -8,4 +8,3 @@ resources:
|
||||
- ./gatus.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ./volsync.yaml
|
||||
- ./volume.yaml
|
||||
|
@@ -30,7 +30,7 @@ metadata:
|
||||
name: wallabag
|
||||
namespace: default
|
||||
spec:
|
||||
sourcePVC: wallabag-images
|
||||
sourcePVC: config-wallabag-0
|
||||
trigger:
|
||||
schedule: "0 7 * * *"
|
||||
restic:
|
||||
|
@@ -1,17 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: wallabag-images
|
||||
namespace: default
|
||||
labels:
|
||||
app.kubernetes.io/name: &name wallabag
|
||||
app.kubernetes.io/instance: *name
|
||||
snapshot.home.arpa/enabled: "true"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
Reference in New Issue
Block a user