mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00

| datasource | package | from | to | | ---------- | ----------------------------- | ---- | ---- | | docker | ghcr.io/auricom/postgres-init | 15.4 | 15.5 |
78 lines
2.0 KiB
YAML
78 lines
2.0 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app pushover-notifier-github-releases
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.2.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controllers:
|
|
main:
|
|
type: cronjob
|
|
cronjob:
|
|
concurrencyPolicy: Forbid
|
|
schedule: "23 */3 * * *"
|
|
initContainers:
|
|
init-db:
|
|
image:
|
|
repository: ghcr.io/auricom/postgres-init
|
|
tag: 15.5@sha256:a337602f0dc11ee0e7f819ede78fa1a13e40a52adad737353efe10ce265a4b36
|
|
pullPolicy: IfNotPresent
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: pushover-notifier-secret
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/auricom/python
|
|
tag: 1.0.0@sha256:d22581793a6803cabcb283ec1f224fe2bdd98efb5d837ad14c52b8d99c0d8c1e
|
|
command:
|
|
- python3
|
|
- /app/script.py
|
|
envFrom: *envFrom
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 250Mi
|
|
limits:
|
|
memory: 250Mi
|
|
service:
|
|
main:
|
|
enabled: false
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: configMap
|
|
name: pushover-notifier-github-releases-configmap
|
|
globalMounts:
|
|
- path: /app/config.yaml
|
|
subPath: config.yaml
|
|
script:
|
|
enabled: true
|
|
type: configMap
|
|
name: pushover-notifier-github-releases-configmap
|
|
globalMounts:
|
|
- path: /app/script.py
|
|
subPath: script.py
|