semaphore

by Semaphore UI

Helm chartv16.2.2App 2.18.3Apache-2.0Verified publisher

Modern UI and powerful API for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools

About this chart

Semaphore UI official chart

Modern UI and powerful API for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools

Homepage: https://semaphoreui.com/

Installing the Chart

helm repo add semaphoreui https://semaphoreui.github.io/charts
helm repo update

Open-source version:

helm install semaphore semaphoreui/semaphore

Pro version:

helm install semaphore semaphoreui/semaphore --set image.repository=public.ecr.aws/semaphore/pro/server

Installing OCI from GitHub Container Registry (GitHub authentication required)

Open-source version:

helm install semaphore oci://ghcr.io/semaphoreui/charts/semaphore

Pro version:

helm install semaphore oci://ghcr.io/semaphoreui/charts/semaphore --set image.repository=public.ecr.aws/semaphore/pro/server

Example for Values

Create admin user

admin:
  create: true
  password: changeme

Now you can login with username admin and password changeme.

Ingress Enabled

ingress:
  enabled: false

  hosts:
    - host: semaphore.example.com
      paths:
        - path: /
          pathType: Prefix

### Custom CA bundle for on-prem Git (appended to ca-certificates.crt)

```yml
customCertificates:
  enabled: true
  existingSecret: my-custom-ca
  key: ca.crt
  mountPath: /etc/ssl/certs/ca-certificates.crt

### Bundled MariaDB

```console
database:
  type: mysql

  host: mariadb
  port: 3306

  password: p455w0rd

mariadb:
  enabled: true

  auth:
    password: p455w0rd

Bundled PostgreSQL

database:
  type: postgres

  host: postgresql
  port: 5432

  usernameFromSecret: false
  passwordKey: password
  existingSecret: postgresql

postgresql:
  enabled: true

  auth:
    password: p455w0rd

OpenID Connect

oidc:
  enable: true

  providers:
    keycloak:
      display_name: Keycloak
      provider_url: https://auth.example.com/auth/realms/example
      redirect_url: https://semaphore.example.com/api/auth/oidc/keycloak/redirect
      client_id: semaphore
      client_secret: 0208901c-ecd7-46ae-931a-d03f02e8dcd2
      username_claim: preferred_username
      name_claim: preferred_username
      email_claim: email

Maintainers

NameEmailUrl
Denis Gukov[email protected]https://github.com/fiftin

Source Code

Requirements

RepositoryNameVersion
oci://registry-1.docker.io/bitnamichartsmariadb23.2.2
oci://registry-1.docker.io/bitnamichartspostgresql18.1.4

Values

KeyTypeDefaultDescription
admin.createboolfalseCreate an local admin user
admin.emailstring"admin@localhost"Email for local admin
admin.emailKeystring"email"Key used within secret for email
admin.existingSecretstringnilExisting secret to use for admin
admin.fullnamestring"Admin"Fullname for local admin
admin.fullnameKeystring"fullname"Key used within secret for fullname
admin.passwordstringnilPassword for local admin
admin.passwordKeystring"password"Key used within secret for password
admin.usernamestring"admin"Username for local admin
admin.usernameKeystring"username"Key used within secret for username
affinityobject{}Affinity for the deployment
annotationsobject{}Define additional annotations
config.forwarded_env_varslist[]List of environment variables to forward into the application environment. Modify this list if additional environment variables need to be accessible.
customCertificates.enabledboolfalseEnable appending custom CA bundle into ca-certificates.crt for outbound TLS (e.g. on-prem git)
customCertificates.existingConfigMapstringnilExisting configmap containing the CA bundle (required if enabled and no secret)
customCertificates.existingSecretstringnilExisting secret containing the CA bundle (required if enabled and no configmap)
customCertificates.keystring"ca.crt"Key in secret/configmap that holds the CA bundle
customCertificates.mountPathstring"/etc/ssl/certs/ca-certificates.crt"Path where the combined CA bundle is mounted (ca-certificates.crt)
database.existingSecretstringnilExisting secret to use for credentials
database.hoststringnilHost for database connection
database.namestring"semaphore"Name of the used database
database.optionsobject{}Options for database connection
database.passwordstringnilPassword for database
database.passwordKeystring"password"Key used within secret for password
database.pathstring"/var/lib/semaphore/database.boltdb"Path for the boltdb
database.persistence.accessModeslist["ReadWriteOnce"]Access modes used for boltdb volume
database.persistence.enabledbooltrueEnable persistence for boltdb
database.persistence.existingClaimstringnilName of an already existing claim
database.persistence.sizestring"5G"Size for boltdb volume
database.persistence.storageClassstringnilStorage class used for boltdb volume
database.portstringnilPort for database connection
database.typestring"bolt"Type of database backend
database.usernamestring"semaphore"Username for database
database.usernameFromSecretbooltrueRead username from secret
database.usernameKeystring"username"Key used within secret for username
email.alertboolfalseEnable email alerting
email.existingSecretstringnilExisting secret to use for email
email.hoststringnilHost of the SMTP server
email.passwordstringnilPassword for SMTP server
email.passwordKeystring"password"Key used within secret for password
email.portstringnilPort of the SMTP server
email.secureboolfalseEnable a secure connection
email.senderstringnilSender for email alerting
email.usernamestringnilUsername for SMTP server
email.usernameKeystring"username"Key used within secret for username
envFromConfigMapslist[]List of environment variables from existing configmaps
envFromSecretslist[]List of environment variables from existing secrets
extraEnvSecretsobject{}Extra environment variables from secrets
extraEnvVariablesobject{}Extra environment variables from mapping
extraInitContainerslist[]List of extra init containers
extraSidecarContainerslist[]List of extra sidecar containers
extraVolumeMountslist[]List of extra volume mounts
extraVolumeslist[]List of extra volumes
fullnameOverridestring""Override the fullname
general.additionalPythonPackageslist[]Additional Python packages
general.gitClientstring"cmd_git"Use Git client implementation
general.hoststringnilHost to access Semaphore
general.maxParallelTasksint0Maximum parallel tasks
general.nonAdminCanCreateProjectboolfalseAllow non-admins to create projects
general.passwordLoginDisableboolfalseDisable password login
general.sshConfigPathstringnilPath to SSH config
general.tmpPathstring"/tmp/semaphore"Working directory for Semaphore
general.useRemoteRunnerboolfalseEnable usage of remote runners
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optional name of pull secret if using a private registry
image.repositorystring"semaphoreui/semaphore"Image repository used by deployment
image.tagstring""Optional tag for the repository, defaults to app version
ingress.annotationsobject{}Additional annotations for the ingress
ingress.classNamestringnilClass name for the ingress resource
ingress.enabledboolfalseEnable ingress
ingress.hostslist[{"host":"example.local","paths":[{"path":"/","pathType":"Prefix"}]}]Host definition for ingress
ingress.labelsobject{}Additional labels for the ingress
ingress.tlslist[]Optional TLS configuration for ingress
labelsobject{}Define additional labels
ldap.binddnstringnilBindDN for LDAP authentication
ldap.binddnKeystring"username"Key used within secret for username
ldap.enableboolfalseEnable LDAP authentication
ldap.existingSecretstringnilExisting secret to use for ldap
ldap.filterstringnilSearch filter for LDAP
ldap.mappingsobject{"cn":"cn","dn":"dn","mail":"mail","uid":"uid"}Mapping for LDAP attributes
ldap.needtlsboolfalseEnable TLS connection to LDAP
ldap.passwordstringnilPassword for LDAP authentication
ldap.passwordKeystring"password"Key used within secret for username
ldap.searchdnstringnil
ldap.serverstringnilAddress of LDAP server
mariadb.architecturestring"standalone"Architecture for mariadb
mariadb.auth.databasestring"semaphore"Database created for semaphore
mariadb.auth.passwordstringnilPassword for semaphore database
mariadb.auth.usernamestring"semaphore"Username for semaphore database
mariadb.enabledboolfalseEnable mariadb dependency
mariadb.fullnameOverridestring"mariadb"Override fullname of mariadb dependency
mariadb.metrics.enabledbooltrueEnable metrics for mariadb
mariadb.metrics.serviceMonitor.enabledboolfalseEnable service monitor for mariadb
mariadb.serviceAccount.createbooltrueCreate service account for mariadb
nameOverridestring""Override the name
nodeSelectorobject{}Node selector for the deployment
oidc.enableboolfalseEnable oidc authentication
oidc.providersobject{}Dictionary of oidc providers
persistence.accessModeslist["ReadWriteOnce"]Access modes used for workdir volume
persistence.enabledbooltrueEnable persistence for workdir
persistence.existingClaimstringnilName of an already existing claim
persistence.sizestring"10G"Size for boltdb volume
persistence.storageClassstringnilStorage class used for workdir volume
podSecurityContextobject{}Security context for the pod
postgresql.architecturestring"standalone"Architecture for postgresql
postgresql.auth.databasestring"semaphore"Database created for semaphore
postgresql.auth.passwordstringnilPassword for semaphore database
postgresql.auth.usernamestring"semaphore"Username for semaphore database
postgresql.enabledboolfalseEnable postgresql dependency
postgresql.fullnameOverridestring"postgresql"Override fullname of postgresql dependency
postgresql.metrics.enabledbooltrueEnable metrics for postgresql
postgresql.metrics.serviceMonitor.enabledboolfalseEnable service monitor for postgresql
postgresql.serviceAccount.createbooltrueCreate service account for postgresql
replicaCountint1Replicas for the deployment
resourcesobject{"limits":{},"requests":{"cpu":"100m","memory":"64Mi"}}Resources for the deployment
runner.existingSecretstringnilExisting secret to use for runner
runner.tokenstringnilRunner registration token
runner.tokenKeystring"token"Key used within secret for token
secrets.accesskeyEncryptionstringnilAccess key encryption secret, generated if not present
secrets.accesskeyEncryptionKeystring"accesskeyEncryption"Key used within secret for accesskeyEncryption
secrets.cookieEncryptionstringnilCookie encryption secret, generated if not present
secrets.cookieEncryptionKeystring"cookieEncryption"Key used within secret for cookieEncryption
secrets.cookieHashstringnilCookie hash secret, generated if not present
secrets.cookieHashKeystring"cookieHash"Key used within secret for cookieHash
secrets.existingSecretstringnilExisting secret to use for secrets
securityContextobject{"fsGroup":1001}Security context for the deployment
service.annotationsobject{}Additional annotations for the service
service.internalPortint3000Internal port of the service
service.labelsobject{}Additional labels for the service
service.portint3000Port of the service
service.typestring"ClusterIP"Type of the service
serviceAccount.annotationsobject{}Define annotations for the service account
serviceAccount.createbooltrueCreate a new service account
serviceAccount.namestring""Optional name for an existing service account
slack.alertboolfalseEnable slack alerting
slack.existingSecretstringnilExisting secret to use for slack
slack.urlstringnilURL used fo

Deploy semaphore with OpenTenant

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