kubeshark/cli
Andrey Pokhilko 7a823e89f1
Add option to limit example len (#1145)
Do not save OAS example response if it is over the limit.
SpecGen.MaxExampleLen is measured in bytes.
Limit=0 means "don't record any examples", while limit=-1 means "record all".

Limit is configured via the config file / --set: --set oas.max-example-len=100.
The default is 10KB.

This PR breaks the previous config. Moved oas bool (enable/disable OAS) to oas.enable.
Users who wish to disable OAS (or to explicitly enable it) should now to so with --set oas.enable=false instead of --set oas=false.

Co-authored-by: Nimrod Gilboa Markevich <nimrod@up9.com>
Co-authored-by: Nimrod Gilboa Markevich <59927337+nimrod-up9@users.noreply.github.com>
2022-06-16 14:18:42 +03:00
..
apiserver Make logger a separate module such that don't depend on shared module as a whole for logging (#1047) 2022-04-27 22:26:27 +03:00
bucket Added mizu install template (#884) 2022-03-09 17:52:55 +02:00
cmd Mizu install should be namespace aware (#1141) 2022-06-13 15:26:00 +03:00
config Add option to limit example len (#1145) 2022-06-16 14:18:42 +03:00
errormessage Cli pkg refactor (2) (#200) 2021-08-11 09:56:03 +03:00
mizu Remove analyze feature (#1121) 2022-06-01 10:17:14 +03:00
pkg/version Moving from Semver to major.patch versioning (#755) 2022-02-06 15:01:36 +02:00
resources Remove analyze feature (#1121) 2022-06-01 10:17:14 +03:00
telemetry Make logger a separate module such that don't depend on shared module as a whole for logging (#1047) 2022-04-27 22:26:27 +03:00
uiUtils Remove analyze feature (#1121) 2022-06-01 10:17:14 +03:00
utils Make logger a separate module such that don't depend on shared module as a whole for logging (#1047) 2022-04-27 22:26:27 +03:00
.gitignore Install Mizu in a dedicated namespace (#123) 2021-07-22 14:26:12 +03:00
go.mod Add profiling tools (#1087) 2022-05-18 15:42:13 +03:00
go.sum Fix the CLI build error for Windows target (#1031) 2022-04-24 09:45:15 +03:00
Makefile Fix the CLI build error for Windows target (#1031) 2022-04-24 09:45:15 +03:00
mizu.go TRA-3868 move tapped pod watch and tapper updating to shared (#416) 2021-11-01 14:12:32 +02:00
README.md.TEMPLATE Update relase template for Mac M1 executable (#836) 2022-02-21 13:32:48 +02:00

# Mizu release _VER_
Mizu CHANGELOG is now part of [Mizu wiki](https://github.com/up9inc/mizu/wiki/CHANGELOG)

## Download Mizu for your platform

**Mac** (x86-64/Intel)
```
curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_VER_/mizu_darwin_amd64 && chmod 755 mizu
```

**Mac** (AArch64/Apple M1 silicon)
```
rm -f mizu && curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_VER_/mizu_darwin_arm64 && chmod 755 mizu
```

**Linux** (x86-64)
```
curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_VER_/mizu_linux_amd64 && chmod 755 mizu
```

**Linux** (AArch64)
```
curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_VER_/mizu_linux_arm64 && chmod 755 mizu
```

**Windows** (x86-64)
```
curl -LO https://github.com/up9inc/mizu/releases/download/_VER_/mizu.exe
```

### Checksums
SHA256 checksums available for compiled binaries.
Run `shasum -a 256 -c mizu_OS_ARCH.sha256` to verify.