Skip to content

Commit

Permalink
Revise the document of scalar-admin-for-kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
supl committed Feb 16, 2024
1 parent 18e51a1 commit 5a0b58e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/configure-custom-values-scalar-admin-for-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ This section explains the optional configurations when setting up a custom value
### CronJob configurations (optional based on your environment)
By default, the Scalar Admin for Kubernetes chart creates a [Job](https://kubernetes.io/docs/concepts/workloads/controllers/job/) resource to run the Scalar Admin for Kubernetes CLI tool once. If you want to run the Scalar Admin for Kubernetes CLI tool periodically by using [CronJob](https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/), you can set `scalarAdminForKubernetes.cronJob.enabled` to `true`. Also, you can set some configurations for the CronJob resource.
By default, the Scalar Admin for Kubernetes chart creates a [Job](https://kubernetes.io/docs/concepts/workloads/controllers/job/) resource to run the Scalar Admin for Kubernetes CLI tool once. If you want to run the Scalar Admin for Kubernetes CLI tool periodically by using [CronJob](https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/), you can set `scalarAdminForKubernetes.jobType` to `cronjob`. Also, you can set some configurations for the CronJob resource.

```yaml
scalarAdminForKubernetes:
cronJob:
enabled: true
timeZone: "Etc/UTC"
schedule: "0 0 * * *"
```
Expand Down

0 comments on commit 5a0b58e

Please sign in to comment.