structurizr
by virtualroot
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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity settings for pod assignment. |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| env | list | [] | List of environment variables to be set for the Structurizr pod. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "structurizr/onpremises" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "structurizr.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| labels | string | nil | Additional labels |
| log4j2 | string | "" | Configuration settings for the logging system using Log4j2. |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| persistence.accessModes | list | ["ReadWriteOnce"] | Specifies the access mode of the PersistentVolume. |
| persistence.enabled | bool | false | |
| persistence.name | string | "" | |
| persistence.size | string | "1Gi" | Specifies the size of the PersistentVolume. |
| persistence.storageClass | string | "" | Specifies the storage class of the PersistentVolume. |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| properties | string | "" | Custom properties configuration for Structurizr. |
| replicaCount | int | 1 | Specify the number of replicas. |
| resources | object | {} | |
| roles | string | "" | Specifies user roles for Structurizr. |
| saml | string | "" | SAML identity provider metadata configuration for Structurizr authentication. |
| securityContext | object | {} | |
| service.port | int | 8080 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| tolerations | list | [] | |
| users | string | "" | Specifies user credentials for Structurizr. |
| volumeMounts | list | [] | Specifies where to mount the volumes in the pod. |
| volumes | list | [] | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartstructurizr is pinned at v0.5.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