verapdf
by mlohr
Helm Chart for deployment veraPDF REST service
About this chart
veraPDF
This repository contains a community Helm Chart for veraPDF, to quickly set up your own veraPDF REST validation service similar to https://demo.verapdf.org/.
Installation
Add Helm Repository
helm repo add mlohr https://helm-charts.mlohr.com/
helm repo update
Install to Kubernetes
helm install verapdf mlohr/verapdf --set ingress.hostname=verapdf.yourdomain.org --wait
Configuration
Please check values.yaml for configuration options.
Use helm --set to change individual values or helm -f to provide a custom values.yaml file.
Validate PDF Files
Manual Validation
Open https://demo.verapdf.org/ (or use the URL from your own installation) in your browser and upload your PDF.
Automatic Validation
You can use the following bash commands to check your PDF file against veraPDF:
curl -F "file=@/path/to/yourdocument.pdf" -H "Accept: application/json" https://demo.verapdf.org/api/validate/1b > verapdf-validation-results.json
if [ "$(cat verapdf-validation-results.json | jq .compliant)" != "true" ] ; then exit 1 ; fi
This can for example also be included in a CI/CD pipeline.
Please replace https://demo.verapdf.org/ with your own installation's URL.
Official veraPDF Resources
- https://verapdf.org -- official veraPDF website
- https://demo.verapdf.org/ -- veraPDF demo webservice
- https://github.com/veraPDF/ -- veraPDF GitHub space
License
This helm chart is published under the Apache License, Version 2.0. See LICENSE.md for more information.
Copyright (c) by Matthias Lohr <[email protected]>
Deploy verapdf with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has verapdf on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartverapdf is pinned at v1.4.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply