structurizr

by virtualroot

Helm chartv0.5.0App 2025.11.09Verified publisher

The Structurizr Helm chart deploys Structurizr On premise flavor. Structurizr is a web-based rendering tool designed to help software development teams create software architecture diagrams and documentation.

About this chart

structurizr

The Structurizr Helm chart deploys Structurizr On premise flavor. Structurizr is a web-based rendering tool designed to help software development teams create software architecture diagrams and documentation.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity settings for pod assignment.
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
envlist[]List of environment variables to be set for the Structurizr pod.
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"structurizr/onpremises"
image.tagstring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"structurizr.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
labelsstringnilAdditional labels
log4j2string""Configuration settings for the logging system using Log4j2.
nameOverridestring""
nodeSelectorobject{}
persistence.accessModeslist["ReadWriteOnce"]Specifies the access mode of the PersistentVolume.
persistence.enabledboolfalse
persistence.namestring""
persistence.sizestring"1Gi"Specifies the size of the PersistentVolume.
persistence.storageClassstring""Specifies the storage class of the PersistentVolume.
podAnnotationsobject{}
podSecurityContextobject{}
propertiesstring""Custom properties configuration for Structurizr.
replicaCountint1Specify the number of replicas.
resourcesobject{}
rolesstring""Specifies user roles for Structurizr.
samlstring""SAML identity provider metadata configuration for Structurizr authentication.
securityContextobject{}
service.portint8080
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]
usersstring""Specifies user credentials for Structurizr.
volumeMountslist[]Specifies where to mount the volumes in the pod.
volumeslist[]List of additional volumes to be added to the pods.

Additional Configuration Details:

volumes and volumeMounts:

You can define additional volumes to attach to the pod and specify where they are mounted. For example:

volumes:
  - name: my-storage
    persistentVolumeClaim:
      claimName: my-pvc
volumeMounts:
  - name: my-storage
    mountPath: /path/in/container

properties, users, roles, and saml-idp-metadata:

These fields allow you to define multi-line strings for configurations. For instance, properties can be used to set Structurizr-specific configurations:

properties: |
  structurizr.redis.password=${REDIS_PASSWORD}
  structurizr.authentication=saml

Similar patterns can be used for users, roles, and saml-idp-metadata fields.

env:

You can specify additional environment variables for the Structurizr application. For instance:

env:
  - name: STRUCTURIZR_DATA_DIRECTORY
    value: "/usr/local/structurizr"

This can be useful to configure aspects of Structurizr using environment variables.

TODO

  • [ ] Encryption
  • [ ] Authentication
    • [ ] File
    • [ ] LDAP
    • [x] SAML
  • [ ] Redis sessions
  • [ ] Bucket data

Deploy structurizr with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has structurizr 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 chartstructurizr is pinned at v0.5.0 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