chart/README.md
Deploys BentoPDF as a single NGINX container serving the static frontend.
helm install bentopdf ./chart
kubectl port-forward deploy/bentopdf 8080:8080
# open http://127.0.0.1:8080
ingress:
enabled: true
className: nginx
hosts:
- host: bentopdf.example.com
paths:
- path: /
pathType: Prefix
gateway:
enabled: true
gatewayClassName: 'cloudflare' # or your gateway class
httpRoute:
enabled: true
hostnames:
- pdfs.example.com
Note: Both Gateway and HTTPRoute default to the release namespace. Omit namespace fields to use the release namespace automatically.
If you have an existing Gateway, set gateway.enabled=false and configure httpRoute.parentRefs:
gateway:
enabled: false
httpRoute:
enabled: true
parentRefs:
- name: existing-gateway
namespace: gateway-namespace
sectionName: http
hostnames:
- pdfs.example.com
image.repository: container image repo (default: ghcr.io/alam00000/bentopdf-simple)image.tag: image tag (default: Chart.appVersion)image.pullPolicy: default IfNotPresentcontainerPort: container listen port (8080 for the BentoPDF nginx image)service.port: Service port exposed in-cluster (default 80)env:
- name: DISABLE_IPV6
value: 'true'
echo "$GHCR_TOKEN" | helm registry login ghcr.io -u "$GHCR_USERNAME" --password-stdin
cd chart
helm package .
# produces bentopdf-<version>.tgz
helm push bentopdf-*.tgz oci://ghcr.io/$GHCR_USERNAME/charts
This could be automated as part of a Github workflow.
helm upgrade --install bentopdf oci://ghcr.io/$GHCR_USERNAME/charts/bentopdf --version 1.0.0