Skip to content

Commit f8fc3e6

Browse files
authored
feat: allow configuring extra command line arguments for jaeger operator (#551)
Signed-off-by: Alex Szakaly <[email protected]>
1 parent 71b8509 commit f8fc3e6

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

charts/jaeger-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
description: jaeger-operator Helm chart for Kubernetes
33
name: jaeger-operator
4-
version: 2.52.0
4+
version: 2.53.0
55
appVersion: 1.52.0
66
home: https://www.jaegertracing.io/
77
icon: https://www.jaegertracing.io/img/jaeger-icon-reverse-color.svg

charts/jaeger-operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The following table lists the configurable parameters of the jaeger-operator cha
6868
| `rbac.pspEnabled` | Pod security policy for pod will be created and included in rbac role | `false` |
6969
| `rbac.clusterRole` | ClusterRole will be used by operator ServiceAccount | `false` |
7070
| `serviceAccount.name` | Service account name to use. If not set and create is true, a name is generated using the fullname template | `nil` |
71+
| `extraArgs` | Additional command line arguments arguments passed to the operator | `{}` |
7172
| `extraEnv` | Additional environment variables passed to the operator. For example: name: LOG-LEVEL value: debug | `[]` |
7273
| `replicaCount` | Desired number of operator pods | `1` |
7374
| `resources` | K8s pod resources | `None` |

charts/jaeger-operator/templates/deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ spec:
6363
{{- if gt $replicaCount 1 }}
6464
- --leader-elect
6565
{{- end }}
66+
{{- range $key, $value := .Values.extraArgs }}
67+
{{- if $value }}
68+
- --{{ $key }}={{ $value }}
69+
{{- else }}
70+
- --{{ $key }}
71+
{{- end }}
72+
{{- end }}
6673
env:
6774
- name: WATCH_NAMESPACE
6875
{{- if .Values.rbac.clusterRole }}

charts/jaeger-operator/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ serviceAccount:
6161
# Annotations for serviceAccount
6262
annotations: {}
6363

64+
extraArgs: {}
65+
# Specifies extra command line arguments arguments passed to the operator:
66+
# foo: bar
67+
6468
# Specifies extra environment variables passed to the operator:
6569
extraEnv: []
6670
# Specifies log-level for the operator:

0 commit comments

Comments
 (0)