Added stirling-pdf

This commit is contained in:
A B
2025-05-27 11:55:39 +00:00
parent d3af58a78e
commit 067eb27169
3 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: stirling-pdf
namespace: argocd
spec:
project: apps
destination:
namespace: stirling-pdf
server: https://kubernetes.default.svc
source:
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
targetRevision: HEAD
path: k8s/apps/stirling-pdf
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true

View File

@ -0,0 +1,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app.yaml
helmCharts:
- name: stirling-pdf-chart
repo: https://stirling-tools.github.io/Stirling-PDF-chart
version: 2.0.0
releaseName: stirling-pdf
namespace: stirling-pdf
valuesFile: values.yaml
includeCRDs: true

View File

@ -0,0 +1,56 @@
replicaCount: 1
image:
registry: docker.stirlingpdf.com
repository: stirlingtools/stirling-pdf
tag: "latest"
pullPolicy: Always
securityContext:
enabled: true
fsGroup: 1000
ingress:
enabled: true
ingressClassName: "traefik"
pathType: "Prefix"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt"
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
labels:
app: stirling-pdf
hosts:
- name: pdf.hexor.cy
path: /
tls: true
tlsSecret: pdf-hexor-cy-tls
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi
probes:
liveness:
enabled: true
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readiness:
enabled: true
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
envs:
- name: UI_APP_NAME
value: "Stirling PDF"
- name: UI_HOME_DESCRIPTION
value: "Your locally hosted one-stop-shop for all your PDF needs."