2024-10-30 11:50:37 -05:00
|
|
|
---
|
|
|
|
# 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 stirling-pdf
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
|
|
|
version: 3.5.1
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
strategy: rollback
|
|
|
|
retries: 3
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
stirling-pdf:
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
|
|
|
app:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/stirling-tools/s-pdf
|
2024-11-16 05:33:41 -06:00
|
|
|
tag: 0.33.1@sha256:d30bf0b2826f0e71cf6fe1b806d918db6d90121ac70b3384569e3b49edf51b3f
|
2024-10-30 11:50:37 -05:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
env:
|
|
|
|
TZ: America/Chicago
|
2024-10-30 12:01:15 -05:00
|
|
|
DOCKER_ENABLE_SECURITY: false
|
|
|
|
SECURITY_ENABLE_LOGIN: false
|
2024-10-30 11:50:37 -05:00
|
|
|
probes:
|
|
|
|
liveness: &probes
|
|
|
|
enabled: false
|
|
|
|
readiness: *probes
|
|
|
|
startup: *probes
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 500Mi
|
|
|
|
limits:
|
2024-10-30 12:18:59 -05:00
|
|
|
memory: 2Gi
|
2024-10-30 11:50:37 -05:00
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: stirling-pdf
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: &port 8080
|
|
|
|
ingress:
|
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
className: internal-nginx
|
|
|
|
hosts:
|
|
|
|
- host: &host pdf.jahanson.tech
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /configs
|
|
|
|
logs:
|
|
|
|
type: emptyDir
|
|
|
|
tessdata:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /usr/share/tessdata
|