forked from ab/homelab
Added stirling-pdf
This commit is contained in:
21
k8s/apps/stirling-pdf/app.yaml
Normal file
21
k8s/apps/stirling-pdf/app.yaml
Normal 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
|
||||
|
15
k8s/apps/stirling-pdf/kustomization.yaml
Normal file
15
k8s/apps/stirling-pdf/kustomization.yaml
Normal 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
|
||||
|
56
k8s/apps/stirling-pdf/values.yaml
Normal file
56
k8s/apps/stirling-pdf/values.yaml
Normal 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."
|
Reference in New Issue
Block a user