planr-tools
A Helm chart for deploying the planr-tools applications
About this chart
planr-tools
This chart deploys the three planr-tools applications together:
newsroom-document-creatornewsroom-feednewsroom-widget
Each application is deployed as its own Deployment, Service, and ConfigMap, while the chart offers shared Ingress and HTTPRoute resources for path-based external access.
Prerequisites
Sophora credentials secret
A Kubernetes secret containing the Sophora CMS credentials is required. Create it before installing the chart:
kubectl create secret generic planr-tools-sophora-credentials \
--from-literal=username=<your-username> \
--from-literal=password=<your-password>
Expected keys:
username— Sophora CMS usernamepassword— Sophora CMS password
Ingress controller requirements
The Ingress resource uses pathType: ImplementationSpecific with nginx-style regex paths and a rewrite-target annotation to strip path prefixes before forwarding to each app. This requires an ingress controller that:
- Supports regex matching for
pathType: ImplementationSpecific - Supports
nginx.ingress.kubernetes.io/rewrite-targetwith capture groups
The nginx ingress controller (ingressClassName: nginx) satisfies both requirements and is the default. Other controllers may not be compatible. Consider using HTTPRoute instead if you are not using nginx.
Example values.yaml
ingress:
enabled: true
ingressClassName: nginx
hosts:
- host: planr-tools.example.com
applications:
documentCreator:
service:
type: ClusterIP
config:
sophora:
client:
server-connection:
urls: https://cms.example.com
username: ${SOPHORA_USERNAME}
password: ${SOPHORA_PASSWORD}
feed:
service:
type: ClusterIP
config:
sophora:
client:
server-connection:
urls: https://cms.example.com
username: ${SOPHORA_USERNAME}
password: ${SOPHORA_PASSWORD}
widget:
service:
type: ClusterIP
config:
sophora:
client:
server-connection:
urls: https://cms.example.com
username: ${SOPHORA_USERNAME}
password: ${SOPHORA_PASSWORD}
commonEnv:
- name: SOPHORA_USERNAME
valueFrom:
secretKeyRef:
name: planr-tools-sophora-credentials
key: username
- name: SOPHORA_PASSWORD
valueFrom:
secretKeyRef:
name: planr-tools-sophora-credentials
key: password
Deploy planr-tools with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has planr-tools 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 chartplanr-tools is pinned at v1.6.0 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