steward

by softwaremill

Helm chartv0.1.12App 1.0Verified publisher

The helm chart for scala steward - the bot that helps you keep library dependencies and sbt plugins up-to-date.

About this chart

steward

The helm chart for scala steward - the bot that helps you keep library dependencies and sbt plugins up-to-date.

Homepage: https://github.com/fthomas/scala-steward

Quick start

  1. Make a copy of the values.yaml file.
  2. Add your repos to the repos key.
  3. Set the credentials in steward key.
  4. Install this chart:
    1. Add the chart repository:
      helm repo add softwaremill https://charts.softwaremill.com/
      helm repo update
      
    2. Install the chart
      helm install -f custom.yaml <relase-name> softwaremill/steward
      

Configuration

The following table lists the configurable parameters of the chart and the default values.

Values

KeyTypeDefaultDescription
affinityobject{}
argslist["--workspace","/opt/scala-steward/workspace","--repos-file","/opt/config_values/repos.md","--git-author-name","$(GIT_AUTHOR_NAME)","--git-author-email","$(GIT_AUTHOR_EMAIL)","--vcs-api-host","https://api.github.com","--vcs-login","$(VCS_LOGIN)","--git-ask-pass","/opt/config_values/git_ask_pass_script.sh","--do-not-fork"]Arguments passed to steward binary
askPassScriptstring"#!/bin/bash\nset -u\necho ${VCS_TOKEN}"Script which echoes VCS token
credentialsSbtstring""Sbt credentials
defaultConfstring""Default Scala Steward config
cron.intervalstring"@daily"cron expression - when to run kubernetes CronJob
cron.restartPolicystring"OnFailure"Whether to restart cronjob on failure
existingSecretNamestringnilIf empty, the chart will create the secret containing the vcs token. If not empty - the already existing secret is used. The secret should have a field names VCS_TOKEN
image.pullPolicystring"IfNotPresent"
image.repositorystring"fthomas/scala-steward"
image.tagstring"latest"
nodeSelectorobject{}
persistence.accessModestring"ReadWriteOnce"Access mode of the PVC
persistence.enabledbooltrueWhether enable persistent volume to store cache
persistence.sizestring"10Gi"Size of the PVC
persistence.storageClassNamestring"standard"Storage class
reposstring"- org/repo-name\n"
resourcesobject{}
steward.gitAuthorEmailstring"[email protected]"Email of the git user
steward.gitAuthorNamestring"steward"Name of the git user
steward.vcsLoginstring""VCS login name
steward.vcsTokenstring""VCS token
tolerationslist[]

Credits

Based on an internal tool created by Kasper Kondzielski.

Happy helming!

Deploy steward with OpenTenant

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