diff --git a/applications/kustomization.yaml b/applications/kustomization.yaml index f73323a..7ce15ae 100644 --- a/applications/kustomization.yaml +++ b/applications/kustomization.yaml @@ -15,3 +15,4 @@ resources: - services/app-scriptscribe.yaml - services/app-seaweedfs.yaml - services/app-qbit.yaml + - services/app-stirling-pdf.yaml diff --git a/applications/services/app-stirling-pdf.yaml b/applications/services/app-stirling-pdf.yaml new file mode 100644 index 0000000..ed30eea --- /dev/null +++ b/applications/services/app-stirling-pdf.yaml @@ -0,0 +1,38 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: stirling-pdf + namespace: argocd +spec: + project: default + sources: + - repoURL: https://docs.stirlingpdf.com/Stirling-PDF-chart + chart: stirling-pdf-chart + targetRevision: "3.1.0" + helm: + values: | + fullnameOverride: stirling-pdf + persistence: + enabled: true + size: 512Mi + deployment: + extraVolumeMounts: + - name: storage-volume + mountPath: /configs + probes: + liveness: + initialDelaySeconds: 90 + readiness: + initialDelaySeconds: 60 + - repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git + targetRevision: main + path: extras/services/stirling-pdf + destination: + server: https://kubernetes.default.svc + namespace: stirling-pdf + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/extras/services/stirling-pdf/httproute.yaml b/extras/services/stirling-pdf/httproute.yaml new file mode 100644 index 0000000..6144d2a --- /dev/null +++ b/extras/services/stirling-pdf/httproute.yaml @@ -0,0 +1,22 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: stirling-pdf + namespace: stirling-pdf +spec: + parentRefs: + - name: traefik-gateway + namespace: traefik + kind: Gateway + sectionName: websecure + hostnames: + - pdf.whyredfire.dev + rules: + - matches: + - path: + type: PathPrefix + value: / + backendRefs: + - name: stirling-pdf + port: 8080 +