mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
62 lines
1.8 KiB
YAML
62 lines
1.8 KiB
YAML
---
|
|
# 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: &app homelab-github-notifier
|
|
spec:
|
|
interval: 1h
|
|
chartRef:
|
|
kind: OCIRepository
|
|
name: app-template
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
values:
|
|
controllers:
|
|
music-transcode:
|
|
type: cronjob
|
|
cronjob:
|
|
concurrencyPolicy: Forbid
|
|
schedule: 0 */3 * * * # Every 3 hours
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/auricom/github-notifier
|
|
tag: rolling@sha256:8eda83ca23b184f496aec3846b48a3b3f9b8d5459f55488e05c86842c12f0d58
|
|
command:
|
|
- python
|
|
- /app/github-notifier.py
|
|
envFrom:
|
|
- secretRef:
|
|
name: homelab-github-notifier-secret
|
|
- secretRef:
|
|
name: homelab-github-notifier-db-secret
|
|
service:
|
|
app:
|
|
controller: *app
|
|
enabled: false
|
|
persistence:
|
|
config:
|
|
type: configMap
|
|
name: homelab-github-notifier-configmap
|
|
defaultMode: 0644 # trunk-ignore(yamllint/octal-values)
|
|
globalMounts:
|
|
- path: /config/config.yaml
|
|
subPath: config.yaml
|
|
readOnly: true
|
|
script:
|
|
type: configMap
|
|
name: homelab-github-notifier-configmap
|
|
defaultMode: 0644 # trunk-ignore(yamllint/octal-values)
|
|
globalMounts:
|
|
- path: /app/github-notifier.py
|
|
subPath: github-notifier.py
|
|
readOnly: true
|