Files
auricom-home-cluster/kubernetes/apps/default/libmedium/app/helmrelease.yaml
auricom 401a67a36c 🚀 libmedium
2023-11-11 16:26:11 +01:00

76 lines
1.8 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 libmedium
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:
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: realaravinth/libmedium
tag: master@sha256:168c8aa99a9fe790c5270f983d77c9ffc36eb38b08a1d5dee307cde87549d9a7
resources:
requests:
cpu: 50m
memory: 256Mi
service:
main:
ports:
http:
port: 7000
ingress:
main:
enabled: true
className: "nginx"
annotations:
auth.home.arpa/enabled: "true"
external-dns.home.arpa/enabled: "true"
hajimari.io/icon: mdi:file-document-arrow-right-outline
hosts:
- host: &host "libmedium.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
type: configMap
name: libmedium-configmap
globalMounts:
- path: /etc/libmedium/config.toml
subPath: config.toml
readOnly: true