This repo provides the helm chart for the Scraper Bot
The chart creates a CronJob to run the bot periodically
- Add the repository to helm
helm repo add robertobochet https://robertobochet.github.io/charts helm repo update
- Retrieve the default values file
helm show values robertobochet/scraper-bot > values.yaml - Customize the
values.yaml - Install backrest
helm install scraper-bot robertobochet/scraper-bot -f values.yaml
For the Scraper Bot configuration you have to look at the main repository scraper-bot
| Name | Description | Value |
|---|---|---|
nameOverride |
String to partially override common.names.fullname | "" |
fullnameOverride |
String to fully override common.names.fullname | "" |
imagePullSecrets |
Secret to use for pulling the image | [] |
| Name | Description | Value |
|---|---|---|
image.registry |
image registry, e.g. gcr.io,docker.io | ghcr.io |
image.repository |
Image to start for this pod | robertobochet/scraper-bot |
image.tag |
Visit: Image tag. Defaults to appVersion within Chart.yaml. |
"" |
image.pullPolicy |
Image pull policy | IfNotPresent |
| Name | Description | Value |
|---|---|---|
podSecurityContext |
Pod security context | {} |
containerSecurityContext |
Security context | {} |
| Name | Description | Value |
|---|---|---|
cronJob.schedule |
Defines how often the job has to run. It uses the Cron syntax | 0 * * * * |
cronJob.failedJobsHistoryLimit |
Specifies the number of failed finished jobs to keep | 1 |
cronJob.successfulJobsHistoryLimit |
Specifies the number of successful finished jobs to keep | 1 |
cronJob.concurrencyPolicy |
Specifies how to treat concurrent executions of a Job that is created by the CronJob | Replace |
| Name | Description | Value |
|---|---|---|
resources |
Kubernetes resources | {} |
nodeSelector |
NodeSelector for the job | {} |
tolerations |
Tolerations for the job | [] |
affinity |
Affinity for the job | {} |
config |
Defines the config of the scraper bot in yaml syntax. Refer to main project for the documentation | "" |
| Name | Description | Value |
|---|---|---|
diskCache.enabled |
Enable diskCache | true |
diskCache.persistence.existingClaim |
Use an existing claim to store repository information | "" |
diskCache.persistence.size |
Size of the pvc | 2Gi |
diskCache.persistence.accessModes |
AccessMode for persistence | ["ReadWriteOnce"] |
diskCache.persistence.storageClass |
StorageClass for the pvc | "" |
Redis and DiskCache cannot be enabled at the same time.
| Name | Description | Value |
|---|---|---|
redis.enabled |
Enable redis standalone or replicated | false |
redis.architecture |
Whether to use standalone or replication | standalone |
redis.serviceBindings.enabled |
Enable redis service-binding secret | true |
redis.master.persistence.enabled |
Enable persistence storage | true |
redis.master.persistence.storageClass |
StorageClass for the pvc | "" |
redis.master.persistence.size |
Size of the pvc | 2Gi |