mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-04-07 03:07:25 +00:00
* Implemented validation rules, based on: https://up9.atlassian.net/browse/TRA-3349 * Color on Entry based on rules * Background red/green based on rules * Change flag --validation-rules to --test-rules * rules tab UI updated * rules tab font and background-color is changed for objects * Merged with develop * Fixed compilation issues. * Renamed fullEntry -> harEntry where appropriate. * Change green/red logic * Update models.go * Fix latency bug and alignment * Merge Conflicts fix * Working after merge * Working on Nimrod comments * Resolving conflicts * Resolving conflicts * Resolving conflicts * Nimrod Comments pt.3 * Log Error on configmap creation if the user doesn't have permission. * Checking configmap permission to ignore --test-rules * Revert time for mizu to get ready * Nimrod comments pt 4 && merge develop pt3 * Nimrod comments pt 4 && merge develop pt3 * Const rulePolicyPath and filename Co-authored-by: Neim <elezin9@gmail.com> Co-authored-by: nimrod-up9 <nimrod@up9.com>
21 lines
590 B
Go
21 lines
590 B
Go
package mizu
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/up9inc/mizu/cli/mizu/configStructs"
|
|
)
|
|
|
|
type ConfigStruct struct {
|
|
Tap configStructs.TapConfig `yaml:"tap"`
|
|
Fetch configStructs.FetchConfig `yaml:"fetch"`
|
|
Version configStructs.VersionConfig `yaml:"version"`
|
|
View configStructs.ViewConfig `yaml:"view"`
|
|
MizuImage string `yaml:"mizu-image"`
|
|
Telemetry bool `yaml:"telemetry" default:"true"`
|
|
}
|
|
|
|
func (config *ConfigStruct) SetDefaults() {
|
|
config.MizuImage = fmt.Sprintf("gcr.io/up9-docker-hub/mizu/%s:%s", Branch, SemVer)
|
|
}
|