penpot

by CodeChem

Helm chartv1.0.10App 1.16.0-betaVerified publisher

CodeChem Penpot Helm Chart

About this chart

Penpot

Penpot is the first Open Source design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, Penpot is web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return.

TL;DR

helm repo add codechem https://charts.codechem.com
helm install penpot codechem/penpot

Introduction

Penpot makes design and prototyping accessible to every team in the world. It has a clear focus on design and code teams and its capabilities reflect exactly that. The less hand-off mindset, the more fun for everyone. Being web based, Penpot is not dependent on operating systems or local installations, you will only need to run a modern browser. Using SVG as no other design and prototyping tool does, Penpot files sport compatibility with most of the vectorial tools, are tech friendly and extremely easy to use on the web. It makes sure you will always own your work.

Prerequisites

  • Kubernetes 1.18+
  • Helm 3.2.0+

Installing the Chart

To install the chart with the release name penpot:

helm install penpot codechem/penpot

The command deploys penpot on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the penpot deployment:

helm delete penpot

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Global parameters

NameDescriptionValue
global.postgresqlEnabledWhether to deploy the Bitnami PostgreSQL chart as subchart. Check the official chart for configuration.false
global.redisEnabledWhether to deploy the Bitnami Redis chart as subchart. Check the official chart for configuration.false
global.imagePullSecretsGlobal Docker registry secret names as an array.[]

Common parameters

NameDescriptionValue
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
serviceAccount.enabledSpecifies whether a ServiceAccount should be created.true
serviceAccount.annotationsAnnotations for service account. Evaluated as a template. Only used if create is true.{}
serviceAccount.nameThe name of the ServiceAccount to use. If not set and enabled is true, a name is generated using the fullname template.""

Backend parameters

NameDescriptionValue
backend.image.repositoryThe Docker repository to pull the image from.penpotapp/backend
backend.image.tagThe image tag to use.1.16.0-beta
backend.image.imagePullPolicyThe image pull policy to use.IfNotPresent
backend.replicaCountThe number of replicas to deploy.1
backend.service.typeThe service type to create.ClusterIP
backend.service.portThe service port to use.6060
backend.podSecurityContext.enabledEnabled Penpot pods' security contexttrue
backend.podSecurityContext.fsGroupSet Penpot pod's security context fsGroup1001
backend.containerSecurityContext.enabledEnabled Penpot containers' security contexttrue
backend.containerSecurityContext.runAsUserSet Penpot containers' security context runAsUser1001
backend.containerSecurityContext.allowPrivilegeEscalationSet Penpot containers' security context allowPrivilegeEscalationfalse
backend.containerSecurityContext.capabilities.dropSet Penpot containers' security context capabilities to be dropped["all"]
backend.containerSecurityContext.readOnlyRootFilesystemSet Penpot containers' security context readOnlyRootFilesystemfalse
backend.containerSecurityContext.runAsNonRootSet Penpot container's security context runAsNonRoottrue
backend.affinityAffinity for Penpot pods assignment{}
backend.nodeSelectorNode labels for Penpot pods assignment{}
backend.tolerationsTolerations for Penpot pods assignment[]
backend.resources.limitsThe resources limits for the Penpot backend containers{}
backend.resources.requestsThe requested resources for the Penpot backend containers{}

Frontend parameters

NameDescriptionValue
frontend.image.repositoryThe Docker repository to pull the image from.penpotapp/frontend
frontend.image.tagThe image tag to use.1.16.0-beta
frontend.image.imagePullPolicyThe image pull policy to use.IfNotPresent
frontend.replicaCountThe number of replicas to deploy.1
frontend.service.typeThe service type to create.ClusterIP
frontend.service.portThe service port to use.80
frontend.ingress.enabledEnable ingress record generation for Penpot frontend.false
frontend.ingress.annotationsMapped annotations for the frontend ingress.{}
frontend.ingress.hostsArray style hosts for the frontend ingress.[]
frontend.ingress.tlsArray style TLS secrets for the frontend ingress.[]
frontend.affinityAffinity for Penpot pods assignment{}
frontend.nodeSelectorNode labels for Penpot pods assignment{}
frontend.tolerationsTolerations for Penpot pods assignment[]
frontend.resources.limitsThe resources limits for the Penpot frontend containers{}
frontend.resources.requestsThe requested resources for the Penpot frontend containers{}

Exporter parameters

NameDescriptionValue
exporter.image.repositoryThe Docker repository to pull the image from.penpotapp/exporter
exporter.image.tagThe image tag to use.1.16.0-beta
exporter.image.imagePullPolicyThe image pull policy to use.IfNotPresent
exporter.replicaCountThe number of replicas to deploy.1
exporter.service.typeThe service type to create.ClusterIP
exporter.service.portThe service port to use.6061
exporter.podSecurityContext.enabledEnabled Penpot pods' security contexttrue
exporter.podSecurityContext.fsGroupSet Penpot pod's security context fsGroup1001
exporter.containerSecurityContext.enabledEnabled Penpot containers' security contexttrue
exporter.containerSecurityContext.runAsUserSet Penpot containers' security context runAsUser1001
exporter.containerSecurityContext.allowPrivilegeEscalationSet Penpot containers' security context allowPrivilegeEscalationfalse
exporter.containerSecurityContext.capabilities.dropSet Penpot containers' security context capabilities to be dropped["all"]
exporter.containerSecurityContext.readOnlyRootFilesystemSet Penpot containers' security context readOnlyRootFilesystemfalse
exporter.containerSecurityContext.runAsNonRootSet Penpot container's security context runAsNonRoottrue
exporter.affinityAffinity for Penpot pods assignment{}
exporter.nodeSelectorNode labels for Penpot pods assignment{}
exporter.tolerationsTolerations for Penpot pods assignment[]
exporter.resources.limitsThe resources limits for the Penpot exporter containers{}
exporter.resources.requestsThe requested resources for the Penpot exporter containers{}

Persistence parameters

NameDescriptionValue
persistence.enabledEnable persistence using Persistent Volume Claims.false
persistence.storageClassPersistent Volume storage class.""
persistence.sizePersistent Volume size.8Gi
persistence.existingClaimThe name of an existing PVC to use for persistence.""
persistence.accessModesPersistent Volume access modes.["ReadWriteOnce"]
persistence.annotationsPersistent Volume Claim annotations.{}

Configuration parameters

| Name | Description | Value | | --------------------------------------------------- | --------------------------------------------------

Deploy penpot with OpenTenant

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