mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-21 05:53:29 +00:00
🔨 Add PcapErrorTTL
field to MiscConfig
This commit is contained in:
parent
4da51c40b9
commit
92dab2e2f7
@ -99,9 +99,9 @@ type SamlConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type AuthConfig struct {
|
type AuthConfig struct {
|
||||||
Enabled bool `yaml:"enabled" json:"enabled" default:"false"`
|
Enabled bool `yaml:"enabled" json:"enabled" default:"false"`
|
||||||
Type string `yaml:"type" json:"type" default:"saml"`
|
Type string `yaml:"type" json:"type" default:"saml"`
|
||||||
Saml SamlConfig `yaml:"saml" json:"saml"`
|
Saml SamlConfig `yaml:"saml" json:"saml"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type IngressConfig struct {
|
type IngressConfig struct {
|
||||||
@ -140,8 +140,9 @@ type MetricsConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MiscConfig struct {
|
type MiscConfig struct {
|
||||||
JsonTTL string `yaml:"jsonTTL" json:"jsonTTL" default:"5m"`
|
JsonTTL string `yaml:"jsonTTL" json:"jsonTTL" default:"5m"`
|
||||||
PcapTTL string `yaml:"pcapTTL" json:"pcapTTL" default:"10s"`
|
PcapTTL string `yaml:"pcapTTL" json:"pcapTTL" default:"10s"`
|
||||||
|
PcapErrorTTL string `yaml:"pcapErrorTTL" json:"pcapErrorTTL" default:"60s"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TapConfig struct {
|
type TapConfig struct {
|
||||||
|
@ -25,3 +25,4 @@ data:
|
|||||||
KUBESHARK_CLOUD_API_URL: 'https://api.kubeshark.co'
|
KUBESHARK_CLOUD_API_URL: 'https://api.kubeshark.co'
|
||||||
JSON_TTL: '{{ .Values.tap.misc.jsonTTL }}'
|
JSON_TTL: '{{ .Values.tap.misc.jsonTTL }}'
|
||||||
PCAP_TTL: '{{ .Values.tap.misc.pcapTTL }}'
|
PCAP_TTL: '{{ .Values.tap.misc.pcapTTL }}'
|
||||||
|
PCAP_ERROR_TTL: '{{ .Values.tap.misc.pcapErrorTTL }}'
|
||||||
|
@ -112,6 +112,7 @@ tap:
|
|||||||
misc:
|
misc:
|
||||||
jsonTTL: 5m
|
jsonTTL: 5m
|
||||||
pcapTTL: 10s
|
pcapTTL: 10s
|
||||||
|
pcapErrorTTL: 60s
|
||||||
logs:
|
logs:
|
||||||
file: ""
|
file: ""
|
||||||
kube:
|
kube:
|
||||||
|
@ -157,6 +157,7 @@ data:
|
|||||||
KUBESHARK_CLOUD_API_URL: 'https://api.kubeshark.co'
|
KUBESHARK_CLOUD_API_URL: 'https://api.kubeshark.co'
|
||||||
JSON_TTL: '5m'
|
JSON_TTL: '5m'
|
||||||
PCAP_TTL: '10s'
|
PCAP_TTL: '10s'
|
||||||
|
PCAP_ERROR_TTL: '60s'
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/02-cluster-role.yaml
|
# Source: kubeshark/templates/02-cluster-role.yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
Loading…
Reference in New Issue
Block a user