mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-03 03:25:26 +00:00
updated helm values
This commit is contained in:
@@ -113,6 +113,7 @@ type ConfigStruct struct {
|
|||||||
Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"`
|
Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"`
|
||||||
Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"`
|
Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"`
|
||||||
Timezone string `yaml:"timezone" json:"timezone"`
|
Timezone string `yaml:"timezone" json:"timezone"`
|
||||||
|
LogLevel string `yaml:"logLevel" json:"logLevel" default:"warning"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *ConfigStruct) ImagePullPolicy() v1.PullPolicy {
|
func (config *ConfigStruct) ImagePullPolicy() v1.PullPolicy {
|
||||||
|
@@ -31,9 +31,8 @@ spec:
|
|||||||
- ./hub
|
- ./hub
|
||||||
- -port
|
- -port
|
||||||
- "8080"
|
- "8080"
|
||||||
{{- if .Values.tap.debug }}
|
- -loglevel
|
||||||
- -debug
|
- '{{ .Values.logLevel | default "warning" }}'
|
||||||
{{- end }}
|
|
||||||
env:
|
env:
|
||||||
- name: POD_NAME
|
- name: POD_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@@ -36,6 +36,8 @@ spec:
|
|||||||
- '{{ .Values.tap.metrics.port }}'
|
- '{{ .Values.tap.metrics.port }}'
|
||||||
- -packet-capture
|
- -packet-capture
|
||||||
- '{{ .Values.tap.packetCapture }}'
|
- '{{ .Values.tap.packetCapture }}'
|
||||||
|
- -loglevel
|
||||||
|
- '{{ .Values.logLevel | default "warning" }}'
|
||||||
{{- if .Values.tap.tls }}
|
{{- if .Values.tap.tls }}
|
||||||
- -unixsocket
|
- -unixsocket
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -54,9 +56,6 @@ spec:
|
|||||||
- '{{ .Values.tap.misc.resolutionStrategy }}'
|
- '{{ .Values.tap.misc.resolutionStrategy }}'
|
||||||
- -staletimeout
|
- -staletimeout
|
||||||
- '{{ .Values.tap.misc.staleTimeoutSeconds }}'
|
- '{{ .Values.tap.misc.staleTimeoutSeconds }}'
|
||||||
{{- if .Values.tap.debug }}
|
|
||||||
- -debug
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.tap.docker.overrideImage.worker }}
|
{{- if .Values.tap.docker.overrideImage.worker }}
|
||||||
image: '{{ .Values.tap.docker.overrideImage.worker }}'
|
image: '{{ .Values.tap.docker.overrideImage.worker }}'
|
||||||
{{- else if .Values.tap.docker.overrideTag.worker }}
|
{{- else if .Values.tap.docker.overrideTag.worker }}
|
||||||
@@ -156,9 +155,6 @@ spec:
|
|||||||
{{- if ne .Values.tap.packetCapture "ebpf" }}
|
{{- if ne .Values.tap.packetCapture "ebpf" }}
|
||||||
- -disable-ebpf
|
- -disable-ebpf
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.tap.debug }}
|
|
||||||
- -debug
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.tap.disableTlsLog }}
|
{{- if .Values.tap.disableTlsLog }}
|
||||||
- -disable-tls-log
|
- -disable-tls-log
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -166,6 +162,8 @@ spec:
|
|||||||
- -port
|
- -port
|
||||||
- '{{ add .Values.tap.proxy.worker.srvPort 1 }}'
|
- '{{ add .Values.tap.proxy.worker.srvPort 1 }}'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- -loglevel
|
||||||
|
- '{{ .Values.logLevel | default "warning" }}'
|
||||||
{{- if .Values.tap.docker.overrideTag.worker }}
|
{{- if .Values.tap.docker.overrideTag.worker }}
|
||||||
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.overrideTag.worker }}{{ include "kubeshark.dockerTagDebugVersion" . }}'
|
image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.overrideTag.worker }}{{ include "kubeshark.dockerTagDebugVersion" . }}'
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@@ -178,3 +178,4 @@ scripting:
|
|||||||
active: []
|
active: []
|
||||||
console: true
|
console: true
|
||||||
timezone: ""
|
timezone: ""
|
||||||
|
logLevel: warning
|
||||||
|
Reference in New Issue
Block a user