mirror of https://github.com/linkerd/linkerd2.git
Add the 'tapInjector.logLevel' value. (#5713)
Fixes #5686 Test: ```bash $ linkerd viz install --set tapInjector.logLevel=debug | k apply -f - // and then when creating a pod we can see debug log entries such as: time="2021-02-10T16:19:28Z" level=debug msg="admission request: &AdmissionRequest{UID:c5e95e8d-... ```
This commit is contained in:
parent
e887cc79ea
commit
a14f3f4eec
|
@ -164,6 +164,7 @@ Kubernetes: `>=1.13.0-0`
|
||||||
| tapInjector.image.registry | string | `"ghcr.io/linkerd"` | Docker registry for the tapInjector instance |
|
| tapInjector.image.registry | string | `"ghcr.io/linkerd"` | Docker registry for the tapInjector instance |
|
||||||
| tapInjector.image.tag | string | `"linkerdVersionValue"` | Docker image tag for the tapInjector instance |
|
| tapInjector.image.tag | string | `"linkerdVersionValue"` | Docker image tag for the tapInjector instance |
|
||||||
| tapInjector.keyPEM | string | `""` | Certificate key for the tapInjector. If not provided then Helm will generate one. |
|
| tapInjector.keyPEM | string | `""` | Certificate key for the tapInjector. If not provided then Helm will generate one. |
|
||||||
|
| tapInjector.logLevel | string | defaultLogLevel | log level of the tapInjector |
|
||||||
| tapInjector.namespaceSelector | string | `nil` | |
|
| tapInjector.namespaceSelector | string | `nil` | |
|
||||||
| tapInjector.objectSelector | string | `nil` | |
|
| tapInjector.objectSelector | string | `nil` | |
|
||||||
| tapInjector.proxy | string | `nil` | |
|
| tapInjector.proxy | string | `nil` | |
|
||||||
|
|
|
@ -71,6 +71,7 @@ spec:
|
||||||
- args:
|
- args:
|
||||||
- injector
|
- injector
|
||||||
- -tap-service-name=linkerd-tap.{{.Values.namespace}}.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
- -tap-service-name=linkerd-tap.{{.Values.namespace}}.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
||||||
|
- -log-level={{.Values.tapInjector.logLevel | default .Values.defaultLogLevel}}
|
||||||
image: {{.Values.tapInjector.image.registry}}/{{.Values.tapInjector.image.name}}:{{.Values.tapInjector.image.tag}}
|
image: {{.Values.tapInjector.image.registry}}/{{.Values.tapInjector.image.name}}:{{.Values.tapInjector.image.tag}}
|
||||||
imagePullPolicy: {{.Values.tapInjector.image.pullPolicy}}
|
imagePullPolicy: {{.Values.tapInjector.image.pullPolicy}}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
@ -145,6 +145,9 @@ tap:
|
||||||
tapInjector:
|
tapInjector:
|
||||||
# -- Number of replicas of tapInjector
|
# -- Number of replicas of tapInjector
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
# -- log level of the tapInjector
|
||||||
|
# @default -- defaultLogLevel
|
||||||
|
logLevel: ""
|
||||||
image:
|
image:
|
||||||
# -- Docker registry for the tapInjector instance
|
# -- Docker registry for the tapInjector instance
|
||||||
registry: *registry
|
registry: *registry
|
||||||
|
|
|
@ -1094,6 +1094,7 @@ spec:
|
||||||
- args:
|
- args:
|
||||||
- injector
|
- injector
|
||||||
- -tap-service-name=linkerd-tap.linkerd-viz.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
- -tap-service-name=linkerd-tap.linkerd-viz.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
||||||
|
- -log-level=info
|
||||||
image: ghcr.io/linkerd/tap:dev-undefined
|
image: ghcr.io/linkerd/tap:dev-undefined
|
||||||
imagePullPolicy:
|
imagePullPolicy:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
@ -803,6 +803,7 @@ spec:
|
||||||
- args:
|
- args:
|
||||||
- injector
|
- injector
|
||||||
- -tap-service-name=linkerd-tap.linkerd-viz.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
- -tap-service-name=linkerd-tap.linkerd-viz.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
||||||
|
- -log-level=info
|
||||||
image: ghcr.io/linkerd/tap:dev-undefined
|
image: ghcr.io/linkerd/tap:dev-undefined
|
||||||
imagePullPolicy:
|
imagePullPolicy:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
@ -1106,6 +1106,7 @@ spec:
|
||||||
- args:
|
- args:
|
||||||
- injector
|
- injector
|
||||||
- -tap-service-name=linkerd-tap.linkerd-viz.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
- -tap-service-name=linkerd-tap.linkerd-viz.serviceaccount.identity.$(_l5d_ns).$(_l5d_trustdomain)
|
||||||
|
- -log-level=info
|
||||||
image: ghcr.io/linkerd/tap:dev-undefined
|
image: ghcr.io/linkerd/tap:dev-undefined
|
||||||
imagePullPolicy:
|
imagePullPolicy:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
Loading…
Reference in New Issue