Skip to content

Commit

Permalink
feat: add support for setting the requeue duration of runo
Browse files Browse the repository at this point in the history
Signed-off-by: Aljoscha Poertner <[email protected]>
  • Loading branch information
aljoshare committed Oct 16, 2023
1 parent 5d2d9b5 commit 536fa5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ __IMPORTANT:__ Because this project follows the [conventional commit specificati
| Parameter | Description | Default |
| ------------------------ | ----------------------- | -------------- |
| `replicaCount` | Set the number of replicas | `1` |
| `image.repository` | Set the image repositorsy | `"ghcr.io/aljoshare/runo"` |
| `image.repository` | Set the image repository | `"ghcr.io/aljoshare/runo"` |
| `image.pullPolicy` | Set the pull policy | `"IfNotPresent"` |
| `image.tag` | Set the image tag | `""` |
| `imagePullSecrets` | Set a image pull secret | `[]` |
Expand All @@ -48,6 +48,7 @@ __IMPORTANT:__ Because this project follows the [conventional commit specificati
| `affinity` | Set pod (anti-)affinities | `{}` |
| `args.dryRun` | Specify whether runo should run in dry-run mode | `false` |
| `args.httpPort` | Set the port for the http endpoint (e.g. health, metrics, etc.) | `8080` |
| `args.requeueDuration` | Set the requeue duration of runo (How long it should wait between reconciliation loops) | `300` |


---
Expand Down
1 change: 1 addition & 0 deletions runo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
{{- with .Values.args }}
args:
- --http-port={{ .httpPort }}
- --requeue-duration={{ .requeueDuration }}
{{- if .dryRun }}
- --dry-run
{{- end }}
Expand Down
3 changes: 2 additions & 1 deletion runo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ affinity: {} # Set pod (anti-)affinities
# Args for runo
args:
dryRun: false # Specify whether runo should run in dry-run mode
httpPort: 8080 # Set the port for the http endpoint (e.g. health, metrics, etc.)
httpPort: 8080 # Set the port for the http endpoint (e.g. health, metrics, etc.)
requeueDuration: 300 # Set the requeue duration of runo (How long it should wait between reconciliation loops)

0 comments on commit 536fa5d

Please sign in to comment.