Skip to content

Commit

Permalink
feat(wizarr): Deploy!
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmcfall committed Mar 13, 2024
1 parent 5109f1d commit 86edb57
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/apps/entertainment/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ resources:
- ./komga/ks.yaml
- ./plex/ks.yaml
- ./tautulli/ks.yaml
- ./wizarr/ks.yaml
72 changes: 72 additions & 0 deletions kubernetes/apps/entertainment/wizarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.0.1/charts/library/common/values.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: &app wizarr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.0.2
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
dependsOn:
- name: rook-ceph-cluster
namespace: rook-ceph
- name: volsync
namespace: storage
values:
controllers:
wizarr:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/wizarrrr/wizarr
tag: 3.5.1
env:
TZ: ${TIMEZONE}
resources:
requests:
cpu: 15m
memory: 180M
limits:
memory: 300M
service:
app:
controller: *app
ports:
http:
port: 5690
ingress:
app:
className: external
annotations:
external-dns.alpha.kubernetes.io/target: external.nerdz.cloud
hosts:
- host: &host join.nerdz.cloud
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
existingClaim: *app
globalMounts:
- path: /data/database
8 changes: 8 additions & 0 deletions kubernetes/apps/entertainment/wizarr/app/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ../../../../templates/gatus/external
- ../../../../templates/volsync
29 changes: 29 additions & 0 deletions kubernetes/apps/entertainment/wizarr/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
# 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 wizarr
namespace: flux-system
spec:
targetNamespace: entertainment
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: plex
- name: overseerr
path: ./kubernetes/apps/entertainment/wizarr/app
prune: true
sourceRef:
kind: GitRepository
name: home-kubernetes
wait: false # no flux ks dependents
interval: 30m
retryInterval: 1m
timeout: 5m
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 2Gi
GATUS_SUBDOMAIN: join

0 comments on commit 86edb57

Please sign in to comment.