supportpal

by evilgn0me

Helm chartv0.1.6App 1.16.0

Unofficial helm chart for supportpal - powerful self-hosted, on-premise help desk software.

About this chart

SupportPal helm chart

This is unofficial helm chart for SupportPal. It runs monolithic SupportPal installation. We will deploy statefulset with pod that has no probes at all. This is required so you can shell inside container and run migration scripts. You need to use ingress-nginx with this, since you need configuration-snippet. Without configuration-snippet annotation it won't work.

ingress:
  enabled: true
  className: "nginx"
  annotations: 
    acme.cert-manager.io/http01-edit-in-place: "true"
    cert-manager.io/cluster-issuer: letsencrypt
    cert-manager.io/issue-temporary-certificate: "true"
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"
    nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
    nginx.ingress.kubernetes.io/configuration-snippet: |
          add_header X-Frame-Options SAMEORIGIN always;
          add_header X-Content-Type-Options nosniff always;
          add_header X-XSS-Protection "1; mode=block" always;
          add_header Referrer-Policy strict-origin-when-cross-origin always;
          set $user_request 0;
          if ($request_method = GET) {
              set $user_request "GET";
          }
          if ($request_uri ~* "^(.*/)index\.php/?(.*)$") {
              set $user_request "${user_request}-index.php";
          }
          if ($user_request = "GET-index.php") {
              return 301 $1$2;
          }
  hosts:
    - host: supportpal.example.com
      paths:
        - path: /
          pathType: ImplementationSpecific
  tls: 
    - secretName: helpdesk-tls
      hosts:
        - supportpal.example.com

Deploy supportpal with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has supportpal 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsupportpal is pinned at v0.1.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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