Try to fix mariadb

This commit is contained in:
SeanOMik 2023-04-16 20:10:28 -04:00
parent 37a9fed45b
commit 05ab55fb16
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
6 changed files with 84 additions and 2 deletions

View File

@ -16,8 +16,8 @@ spec:
values:
auth:
user: k3scluster
existingSecret: "redis-secrets"
username: k3scluster
existingSecret: "mariadb-secret"
primary:
persistence:

View File

@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./mariadb-pv.yaml
- ./mariadb.sops.yaml
- ./helm-release.yaml

View File

@ -0,0 +1,65 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: firefly-iii
namespace: default
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: fireflyiii/core:latest
tag: latest
service:
main:
ports:
http:
port: 8080
probes:
liveness:
enabled: false
ingress:
main:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: &host "budget.${SECRET_NEW_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
secretName: wildcard-main-tls
persistence:
config:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/kavita
mountPath: /kavita/config
storage:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/kavita
mountPath: /storage
resources:
requests:
cpu: 1m
memory: 275Mi
limits:
memory: 500Mi

View File

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

View File

@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./database
- ./authentik
- ./media
- ./download
- ./management
- ./tools
- ./irc
- ./monitoring
#- ./harbor