mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-19 10:48:59 +00:00
stash (#1575)
This commit is contained in:
parent
64a4c5ce62
commit
df0aea1462
@ -96,6 +96,7 @@ type ConfigStruct struct {
|
|||||||
License string `yaml:"license" json:"license" default:""`
|
License string `yaml:"license" json:"license" default:""`
|
||||||
CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"`
|
CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"`
|
||||||
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
|
SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"`
|
||||||
|
InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"`
|
||||||
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"`
|
||||||
|
@ -171,6 +171,7 @@ Please refer to [metrics](./metrics.md) documentation for details.
|
|||||||
| `tap.telemetry.enabled` | Enable anonymous usage statistics collection | `true` |
|
| `tap.telemetry.enabled` | Enable anonymous usage statistics collection | `true` |
|
||||||
| `tap.defaultFilter` | Sets the default dashboard KFL filter (e.g. `http`) | `""` |
|
| `tap.defaultFilter` | Sets the default dashboard KFL filter (e.g. `http`) | `""` |
|
||||||
| `tap.globalFilter` | Prepends to any KFL filter and can be used to limit what is visible in the dashboard. For example, `redact("request.headers.Authorization")` will redact the appropriate field. Another example `!dns` will not show any DNS traffic. | `""` |
|
| `tap.globalFilter` | Prepends to any KFL filter and can be used to limit what is visible in the dashboard. For example, `redact("request.headers.Authorization")` will redact the appropriate field. Another example `!dns` will not show any DNS traffic. | `""` |
|
||||||
|
| `tap.metrics.port` | Pod port used to expose Prometheus metrics | `49100` |
|
||||||
| `logs.file` | Logs dump path | `""` |
|
| `logs.file` | Logs dump path | `""` |
|
||||||
| `kube.configPath` | Path to the `kubeconfig` file (`$HOME/.kube/config`) | `""` |
|
| `kube.configPath` | Path to the `kubeconfig` file (`$HOME/.kube/config`) | `""` |
|
||||||
| `kube.context` | Kubernetes context to use for the deployment | `""` |
|
| `kube.context` | Kubernetes context to use for the deployment | `""` |
|
||||||
@ -180,8 +181,9 @@ Please refer to [metrics](./metrics.md) documentation for details.
|
|||||||
| `scripting.env` | Environment variables for the scripting | `{}` |
|
| `scripting.env` | Environment variables for the scripting | `{}` |
|
||||||
| `scripting.source` | Source directory of the scripts | `""` |
|
| `scripting.source` | Source directory of the scripts | `""` |
|
||||||
| `scripting.watchScripts` | Enable watch mode for the scripts in source directory | `true` |
|
| `scripting.watchScripts` | Enable watch mode for the scripts in source directory | `true` |
|
||||||
| `tap.metrics.port` | Pod port used to expose Prometheus metrics | `49100` |
|
|
||||||
| `timezone` | IANA time zone applied to time shown in the front-end | `""` (local time zone applies) |
|
| `timezone` | IANA time zone applied to time shown in the front-end | `""` (local time zone applies) |
|
||||||
|
| `supportChatEnabled` | Enable real-time support chat channel based on Intercom | `true` |
|
||||||
|
| `internetConnectivity` | Turns off API requests that are dependant on Internet connectivity such as `telemetry` and `online-support`. | `true` |
|
||||||
|
|
||||||
KernelMapping pairs kernel versions with a
|
KernelMapping pairs kernel versions with a
|
||||||
DriverContainer image. Kernel versions can be matched
|
DriverContainer image. Kernel versions can be matched
|
||||||
|
@ -59,7 +59,7 @@ spec:
|
|||||||
{{ .Values.cloudLicenseEnabled }}
|
{{ .Values.cloudLicenseEnabled }}
|
||||||
{{- end }}'
|
{{- end }}'
|
||||||
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
- name: REACT_APP_SUPPORT_CHAT_ENABLED
|
||||||
value: '{{ not .Values.supportChatEnabled | ternary "true" .Values.supportChatEnabled }}'
|
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
|
||||||
{{- if .Values.tap.docker.overrideTag.front }}
|
{{- if .Values.tap.docker.overrideTag.front }}
|
||||||
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.overrideTag.front }}'
|
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.overrideTag.front }}'
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@ -24,7 +24,7 @@ data:
|
|||||||
AUTH_SAML_IDP_METADATA_URL: '{{ .Values.tap.auth.saml.idpMetadataUrl }}'
|
AUTH_SAML_IDP_METADATA_URL: '{{ .Values.tap.auth.saml.idpMetadataUrl }}'
|
||||||
AUTH_SAML_ROLE_ATTRIBUTE: '{{ .Values.tap.auth.saml.roleAttribute }}'
|
AUTH_SAML_ROLE_ATTRIBUTE: '{{ .Values.tap.auth.saml.roleAttribute }}'
|
||||||
AUTH_SAML_ROLES: '{{ .Values.tap.auth.saml.roles | toJson }}'
|
AUTH_SAML_ROLES: '{{ .Values.tap.auth.saml.roles | toJson }}'
|
||||||
TELEMETRY_DISABLED: '{{ not .Values.tap.telemetry.enabled | ternary "true" "" }}'
|
TELEMETRY_DISABLED: '{{ not .Values.internetConnectivity | ternary "true" (not .Values.tap.telemetry.enabled | ternary "true" "") }}'
|
||||||
SCRIPTING_DISABLED: '{{ .Values.tap.scriptingDisabled | ternary "true" "" }}'
|
SCRIPTING_DISABLED: '{{ .Values.tap.scriptingDisabled | ternary "true" "" }}'
|
||||||
TARGETED_PODS_UPDATE_DISABLED: '{{ .Values.tap.targetedPodsUpdateDisabled | ternary "true" "" }}'
|
TARGETED_PODS_UPDATE_DISABLED: '{{ .Values.tap.targetedPodsUpdateDisabled | ternary "true" "" }}'
|
||||||
RECORDING_DISABLED: '{{ .Values.tap.recordingDisabled | ternary "true" "" }}'
|
RECORDING_DISABLED: '{{ .Values.tap.recordingDisabled | ternary "true" "" }}'
|
||||||
|
@ -138,6 +138,7 @@ headless: false
|
|||||||
license: ""
|
license: ""
|
||||||
cloudLicenseEnabled: true
|
cloudLicenseEnabled: true
|
||||||
supportChatEnabled: true
|
supportChatEnabled: true
|
||||||
|
internetConnectivity: true
|
||||||
scripting:
|
scripting:
|
||||||
env: {}
|
env: {}
|
||||||
source: ""
|
source: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user