Skip to content

Commit

Permalink
allow setting extra args
Browse files Browse the repository at this point in the history
Signed-off-by: drfaust92 <[email protected]>
  • Loading branch information
DrFaust92 committed Dec 10, 2024
1 parent 0d53408 commit 213135c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/rollout-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: rollout-operator
description: "Grafana rollout-operator"
type: application
version: 0.21.0
version: 0.22.0
appVersion: v0.21.0
home: https://github.com/grafana/rollout-operator
kubeVersion: ^1.10.0-0
3 changes: 2 additions & 1 deletion charts/rollout-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/r

# rollout-operator

![Version: 0.21.0](https://img.shields.io/badge/Version-0.21.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.21.0](https://img.shields.io/badge/AppVersion-v0.21.0-informational?style=flat-square)
![Version: 0.22.0](https://img.shields.io/badge/Version-0.22.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.21.0](https://img.shields.io/badge/AppVersion-v0.21.0-informational?style=flat-square)

Grafana rollout-operator

Expand Down Expand Up @@ -40,6 +40,7 @@ It is not a highly available application and runs as a single pod.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| extraArgs | list | `[]` | List of additional cli arguments to configure agent-operator (example: `--log.level`) |
| fullnameOverride | string | `""` | |
| global.commonLabels | object | `{}` | Common labels for all object directly managed by this chart. |
| hostAliases | list | `[]` | hostAliases to add |
Expand Down
3 changes: 3 additions & 0 deletions charts/rollout-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- -kubernetes.namespace={{ .Release.Namespace }}
{{- range .Values.extraArgs }}
- {{ . }}
{{- end }}
ports:
- name: http-metrics
containerPort: 8001
Expand Down
3 changes: 3 additions & 0 deletions charts/rollout-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

# -- List of additional cli arguments to configure agent-operator (example: `--log.level`)
extraArgs: []

resources:
limits:
# cpu: "1"
Expand Down

0 comments on commit 213135c

Please sign in to comment.