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
- Make a copy of the values.yaml file.
- Add your repos to the
reposkey. - Set the credentials in
stewardkey. - Install this chart:
- Add the chart repository:
helm repo add softwaremill https://charts.softwaremill.com/ helm repo update - Install the chart
helm install -f custom.yaml <relase-name> softwaremill/steward
- Add the chart repository:
Configuration
The following table lists the configurable parameters of the chart and the default values.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| args | list | ["--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 |
| askPassScript | string | "#!/bin/bash\nset -u\necho ${VCS_TOKEN}" | Script which echoes VCS token |
| credentialsSbt | string | "" | Sbt credentials |
| defaultConf | string | "" | Default Scala Steward config |
| cron.interval | string | "@daily" | cron expression - when to run kubernetes CronJob |
| cron.restartPolicy | string | "OnFailure" | Whether to restart cronjob on failure |
| existingSecretName | string | nil | If 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.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "fthomas/scala-steward" | |
| image.tag | string | "latest" | |
| nodeSelector | object | {} | |
| persistence.accessMode | string | "ReadWriteOnce" | Access mode of the PVC |
| persistence.enabled | bool | true | Whether enable persistent volume to store cache |
| persistence.size | string | "10Gi" | Size of the PVC |
| persistence.storageClassName | string | "standard" | Storage class |
| repos | string | "- org/repo-name\n" | |
| resources | object | {} | |
| steward.gitAuthorEmail | string | "[email protected]" | Email of the git user |
| steward.gitAuthorName | string | "steward" | Name of the git user |
| steward.vcsLogin | string | "" | VCS login name |
| steward.vcsToken | string | "" | VCS token |
| tolerations | list | [] |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsteward is pinned at v0.1.12 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