feat(apps): Add bentopdf

This commit is contained in:
2026-09-13 01:20:14 +05:30
parent 9977e7a79a
commit 58e38d65ad
6 changed files with 111 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: bentopdf
namespace: bentopdf
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: bentopdf
template:
metadata:
labels:
app.kubernetes.io/name: bentopdf
spec:
containers:
- image: ghcr.io/alam00000/bentopdf-simple:latest@sha256:3d62b8f8eece5fe947026ac3925ff08fda245b3d6ba2c3916b94da91e0010c74
livenessProbe:
httpGet:
path: /
port: http
name: bentopdf
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /
port: http
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
securityContext:
runAsGroup: 101
runAsNonRoot: true
runAsUser: 101
seccompProfile:
type: RuntimeDefault
+23
View File
@@ -0,0 +1,23 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
name: bentopdf
namespace: bentopdf
spec:
hostnames:
- pdf.whyredfire.dev
parentRefs:
- kind: Gateway
name: traefik-gateway
namespace: traefik
sectionName: websecure
rules:
- backendRefs:
- name: bentopdf
port: 8080
matches:
- path:
type: PathPrefix
value: /
+6
View File
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
- httproute.yaml
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: bentopdf
namespace: bentopdf
spec:
ports:
- name: http
port: 8080
targetPort: http
selector:
app.kubernetes.io/name: bentopdf
+22
View File
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
argocd.argoproj.io/sync-wave: "3"
name: bentopdf
namespace: argocd
spec:
destination:
namespace: bentopdf
server: https://kubernetes.default.svc
project: default
source:
path: apps/bentopdf
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
+1
View File
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- autoregexbot.yaml
- bentopdf.yaml
- betterslcm.yaml
- garage.yaml
- garage-ui.yaml