changedetection

This commit is contained in:
auricom
2022-12-29 18:57:15 +01:00
parent 4c7b1271df
commit b0e92fbde9
9 changed files with 227 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: changedetection
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.2.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 3
install:
createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
controller:
type: statefulset
image:
repository: ghcr.io/dgtlmoon/changedetection.io
tag: 0.40.0.4
env:
TZ: ${TIMEZONE}
PORT: &port 5000
USE_X_SETTINGS: 1
PLAYWRIGHT_DRIVER_URL: ws://localhost:3000/?stealth=1&--disable-web-security=true&--user-data-dir=~/browserless-cache-123
PUID: 1000
PGID: 1000
service:
main:
ports:
http:
port: *port
ingress:
main:
enabled: true
ingressClassName: nginx
annotations:
hajimari.io/icon: mdi:web-sync
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"
persistence:
config:
enabled: true
existingClaim: changedetection-config
mountPath: /datastore
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 250Mi