mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
82 lines
2.5 KiB
YAML
82 lines
2.5 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 exercisediary
|
|
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:
|
|
exercisediary:
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: aceberg/exercisediary
|
|
tag: 0.1.9@sha256:bfa75741bf347faf8fe859c90e6db5440e9e51c1ced1e27a66f50e6b77c8ab71
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
PORT: &port 8851
|
|
THEME: darkly # optional, default: grass
|
|
COLOR: dark # optional, default: light
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
limits:
|
|
memory: 512Mi
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/auth-method: GET
|
|
nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify
|
|
nginx.ingress.kubernetes.io/auth-signin: https://auth.${SECRET_EXTERNAL_DOMAIN}?rm=$request_method
|
|
nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email
|
|
nginx.ingress.kubernetes.io/auth-snippet: proxy_set_header X-Forwarded-Method $request_method;
|
|
hajimari.io/icon: mdi:radio
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/name: exercisediary
|
|
gethomepage.dev/description: Workout diary with GitHub-style year visualization.
|
|
gethomepage.dev/group: Applications
|
|
gethomepage.dev/icon: exercisediary.png
|
|
gethomepage.dev/pod-selector: >-
|
|
app in (
|
|
exercisediary
|
|
)
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: *port
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: *app
|
|
globalMounts:
|
|
- path: /data/ExerciseDiary
|