Added maintainerr.

This commit is contained in:
Joseph Hanson 2024-01-27 23:27:45 -06:00
parent 9b559ee90d
commit 194dcf4046
4 changed files with 106 additions and 0 deletions

View file

@ -5,6 +5,7 @@ kind: Kustomization
resources:
# Flux-Kustomizations
- ./jellyfin/ks.yaml
- ./maintainerr/ks.yaml
- ./prowlarr/ks.yaml
- ./radarr/ks.yaml
- ./recyclarr/ks.yaml

View file

@ -0,0 +1,70 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: maintainerr
spec:
chart:
spec:
chart: app-template
version: 2.5.0
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
interval: 30m
values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"
containers:
main:
image:
repository: ghcr.io/jorenn92/maintainerr
tag: 1.7.1@sha256:69756fae3b2a58905a1ca3ad86d34b59effd8c92140dcb70fd315ffccdea4e0d
resources:
requests:
cpu: 5m
memory: 128Mi
limits:
memory: 512Mi
service:
main:
ports:
http:
port: 80
ingress:
main:
enabled: true
className: internal-nginx
hosts:
- host: &host "{{ .Release.Name }}.jahanson.tech"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
data:
enabled: true
existingClaim: maintainerr
globalMounts:
- path: /opt/data

View file

@ -0,0 +1,7 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ../../../../templates/volsync

View file

@ -0,0 +1,28 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app maintainerr
namespace: flux-system
spec:
targetNamespace: media
commonMetadata:
labels:
app.kubernetes.io/name: *app
interval: 10m
path: "./kubernetes/main/apps/media/maintainerr/app"
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false
dependsOn:
- name: rook-ceph-cluster
- name: volsync
- name: external-secrets-stores
- name: plex
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 1Gi