Compare commits
2 Commits
ffb3827507
...
d3d307a8bf
Author | SHA1 | Date |
---|---|---|
Renovate Bot | d3d307a8bf | |
SeanOMik | 4f5c279f00 |
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
|
@ -14,9 +14,10 @@ spec:
|
|||
kind: HelmRepository
|
||||
name: bjws-charts
|
||||
namespace: flux-system
|
||||
|
||||
values:
|
||||
controllers:
|
||||
kapowarr:
|
||||
main:
|
||||
pod:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
|
@ -24,26 +25,29 @@ spec:
|
|||
runAsGroup: 10000
|
||||
fsGroup: 10000
|
||||
fsGroupChangePolicy: OnRootMismatch
|
||||
|
||||
containers:
|
||||
app:
|
||||
main:
|
||||
image:
|
||||
repository: git.seanomik.net/seanomik/kapowarr
|
||||
tag: v1.0.0
|
||||
tag: rolling-e74ec0e4
|
||||
pullPolicy: Always
|
||||
|
||||
service:
|
||||
app:
|
||||
controller: kapowarr
|
||||
controller: main
|
||||
|
||||
ports:
|
||||
http:
|
||||
port: 5656
|
||||
|
||||
ingress:
|
||||
app:
|
||||
main:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
||||
|
||||
hosts:
|
||||
- host: "kapowarr.${SECRET_NEW_DOMAIN}"
|
||||
paths:
|
||||
|
@ -53,12 +57,14 @@ spec:
|
|||
port: http
|
||||
|
||||
persistence:
|
||||
data:
|
||||
existingClaim: kapowarr
|
||||
globalMounts:
|
||||
- path: /data
|
||||
storage:
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Media
|
||||
globalMounts:
|
||||
- path: /storage
|
||||
|
||||
config:
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Kubernetes/kapowarr
|
||||
globalMounts:
|
||||
- path: /app/db
|
|
@ -1,32 +0,0 @@
|
|||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app kapowarr
|
||||
namespace: flux-system
|
||||
spec:
|
||||
timeout: 5m
|
||||
interval: 10m
|
||||
targetNamespace: download
|
||||
path: ./kubernetes/main/apps/download/kapowarr/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-cluster
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-gpg
|
||||
dependsOn:
|
||||
- name: openebs
|
||||
- name: openebs-sc
|
||||
- name: volsync
|
||||
postBuild:
|
||||
substituteFrom:
|
||||
- kind: ConfigMap
|
||||
name: cluster-settings
|
||||
- kind: Secret
|
||||
name: cluster-secrets
|
||||
substitute:
|
||||
APP: *app
|
||||
VOLSYNC_CAPACITY: 5Gi
|
|
@ -1,5 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../../../common/templates/volsync
|
||||
- ./helm-release.yaml
|
|
@ -14,5 +14,5 @@ resources:
|
|||
- ./unpackerr
|
||||
- ./media-dashboard.yaml
|
||||
- ./flaresolverr
|
||||
- ./kapowarr/ks.yaml
|
||||
- ./kapowarr
|
||||
- ./sabnzbd
|
|
@ -1,8 +1,8 @@
|
|||
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: komga
|
||||
name: ampache
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
|
@ -13,16 +13,19 @@ spec:
|
|||
kind: HelmRepository
|
||||
name: bjws-charts
|
||||
namespace: flux-system
|
||||
|
||||
values:
|
||||
controllers:
|
||||
komga:
|
||||
ampache:
|
||||
containers:
|
||||
app:
|
||||
image:
|
||||
repository: gotson/komga
|
||||
tag: 1.14.1
|
||||
repository: ampache/ampache
|
||||
tag: nosql7.0.1
|
||||
|
||||
env:
|
||||
TZ: America/New_York
|
||||
DISABLE_INOTIFYWAIT_CLEAN: 0
|
||||
|
||||
probes:
|
||||
liveness: &probes
|
||||
enabled: true
|
||||
|
@ -30,7 +33,7 @@ spec:
|
|||
spec:
|
||||
httpGet:
|
||||
path: /
|
||||
port: &port 25600
|
||||
port: &port 80
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
|
@ -41,28 +44,23 @@ spec:
|
|||
spec:
|
||||
failureThreshold: 30
|
||||
periodSeconds: 10
|
||||
resources:
|
||||
requests:
|
||||
cpu: 2m
|
||||
memory: 1500Mi
|
||||
limits:
|
||||
memory: 3200Mi
|
||||
|
||||
# securityContext:
|
||||
# allowPrivilegeEscalation: false
|
||||
# readOnlyRootFilesystem: true
|
||||
# capabilities: { drop: ["ALL"] }
|
||||
|
||||
# defaultPodOptions:
|
||||
# securityContext:
|
||||
# runAsUser: 10000
|
||||
# runAsGroup: 10000
|
||||
# fsGroup: 10000
|
||||
# fsGroupChangePolicy: OnRootMismatch
|
||||
defaultPodOptions:
|
||||
securityContext:
|
||||
# runAsNonRoot: true
|
||||
runAsUser: 10000
|
||||
runAsGroup: 10000
|
||||
fsGroup: 10000
|
||||
fsGroupChangePolicy: OnRootMismatch
|
||||
|
||||
service:
|
||||
app:
|
||||
controller: komga
|
||||
controller: ampache
|
||||
ports:
|
||||
http:
|
||||
port: *port
|
||||
|
@ -72,8 +70,9 @@ spec:
|
|||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
#className: external
|
||||
hosts:
|
||||
- host: "comics.${SECRET_NEW_DOMAIN}"
|
||||
- host: "ampache.${SECRET_NEW_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
service:
|
||||
|
@ -81,13 +80,19 @@ spec:
|
|||
port: http
|
||||
|
||||
persistence:
|
||||
data:
|
||||
existingClaim: komga
|
||||
config:
|
||||
existingClaim: ampache
|
||||
globalMounts:
|
||||
- path: /config
|
||||
storage:
|
||||
- path: /var/www/config
|
||||
|
||||
logs:
|
||||
type: emptyDir
|
||||
globalMounts:
|
||||
- path: /var/log/ampache
|
||||
|
||||
music:
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Media/Media
|
||||
globalMounts:
|
||||
- path: /storage
|
||||
#readOnly: true
|
||||
- path: /media
|
||||
readOnly: true
|
|
@ -2,13 +2,13 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app komga
|
||||
name: &app ampache
|
||||
namespace: flux-system
|
||||
spec:
|
||||
timeout: 5m
|
||||
interval: 10m
|
||||
targetNamespace: media
|
||||
path: ./kubernetes/main/apps/media/komga/app
|
||||
path: ./kubernetes/main/apps/media/ampache/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
|
@ -28,4 +28,4 @@ spec:
|
|||
name: cluster-secrets
|
||||
substitute:
|
||||
APP: *app
|
||||
VOLSYNC_CAPACITY: 5Gi
|
||||
VOLSYNC_CAPACITY: 15Gi
|
|
@ -0,0 +1,67 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: komga
|
||||
namespace: media
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 3.5.x
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjws-charts
|
||||
namespace: flux-system
|
||||
|
||||
values:
|
||||
image:
|
||||
repository: gotson/komga
|
||||
tag: "1.14.1"
|
||||
|
||||
env:
|
||||
TZ: America/New_York
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
port: 25600
|
||||
|
||||
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 "comics.${SECRET_NEW_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- *host
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Kubernetes/komga
|
||||
mountPath: /config
|
||||
storage:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
hostPath: /mnt/MainPool/Media/Media
|
||||
mountPath: /storage
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 2m
|
||||
memory: 1500Mi
|
||||
limits:
|
||||
memory: 3200Mi
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./helm-release.yaml
|
|
@ -3,7 +3,7 @@ kind: Kustomization
|
|||
resources:
|
||||
- ./namespace.yaml
|
||||
#- ./network_policy.yaml
|
||||
- ./komga/ks.yaml
|
||||
- ./komga
|
||||
- ./kavita
|
||||
- ./jellyfin
|
||||
- ./jellyseerr
|
||||
|
@ -12,4 +12,5 @@ resources:
|
|||
- ./tautulli
|
||||
- ./ombi
|
||||
- ./freshrss
|
||||
- ./navidrome/ks.yaml
|
||||
- ./navidrome/ks.yaml
|
||||
- ./ampache/ks.yaml
|
Loading…
Reference in New Issue