mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
71 lines
1.7 KiB
YAML
71 lines
1.7 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app pushover-notifier-github-releases
|
|
namespace: default
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.5.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 3
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controller:
|
|
type: cronjob
|
|
cronjob:
|
|
concurrencyPolicy: Forbid
|
|
schedule: "23 */3 * * *"
|
|
initContainers:
|
|
01-init-db:
|
|
image: ghcr.io/auricom/postgres-init:15.3
|
|
imagePullPolicy: IfNotPresent
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: pushover-notifier-secret
|
|
image:
|
|
repository: ghcr.io/auricom/python
|
|
tag: 1.0.0@sha256:248d140206cd73ead759dae23d8c7cdee86a67ccad276598b8ae298dff819b71
|
|
command:
|
|
- python3
|
|
- /app/script.py
|
|
service:
|
|
main:
|
|
enabled: false
|
|
envFrom: *envFrom
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 250Mi
|
|
limits:
|
|
memory: 250Mi
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: configMap
|
|
name: pushover-notifier-github-releases-configmap
|
|
mountPath: /app/config.yaml
|
|
subPath: config.yaml
|
|
script:
|
|
enabled: true
|
|
type: configMap
|
|
name: pushover-notifier-github-releases-configmap
|
|
mountPath: /app/script.py
|
|
subPath: script.py
|