Skip to content

Commit

Permalink
feat: deploy wallos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodent1 committed Feb 18, 2025
1 parent 2d78cb7 commit c6920fb
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/apps/selfhosted/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ resources:
- ./memos/ks.yaml
- ./miniflux/ks.yaml
- ./paperless/ks.yaml
- ./wallos/ks.yaml
79 changes: 79 additions & 0 deletions kubernetes/apps/selfhosted/wallos/app/helmrelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: wallos
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
dependsOn:
- name: rook-ceph-cluster
namespace: rook-ceph
values:
controllers:
wallos:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/ellite/wallos
tag: 2.45.2@sha256:fc19d4aaf68d1ea2cc7e7ba5cbfd2fe6fafb5b47968814b9f609242334c4e97b
env:
TZ: Europe/Oslo
securityContext:
allowPrivilegeEscalation: false
resources:
requests:
cpu: 10m
limits:
memory: 256Mi
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
service:
app:
controller: wallos
ports:
http:
port: 80
ingress:
app:
className: internal
hosts:
- host: "{{ .Release.Name }}.rodent.cc"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
existingClaim: wallos
advancedMounts:
wallos:
app:
- path: /var/www/html/db
subPath: db
- path: /var/www/html/images/uploads/logos
subPath: logos
6 changes: 6 additions & 0 deletions kubernetes/apps/selfhosted/wallos/app/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
31 changes: 31 additions & 0 deletions kubernetes/apps/selfhosted/wallos/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# 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 wallos
namespace: &namespace selfhosted
spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
components:
- ../../../../components/gatus/guarded
- ../../../../components/volsync
dependsOn:
- name: volsync
namespace: volsync-system
interval: 30m
path: ./kubernetes/apps/selfhosted/wallos/app
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 5Gi
prune: true
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
targetNamespace: *namespace
timeout: 5m
wait: false

0 comments on commit c6920fb

Please sign in to comment.