M. Mert Yildiran
1c883c73e4
Add hub to the list of containers in pprof
command and add flags to pprof
command ( #1603 )
...
* Add hub to the list of containers in `pprof` command and add flags to `pprof` command
* Reduce duplication
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-09-09 14:41:01 -07:00
M. Mert Yildiran
d3789f2bc0
Add pprof
command ( #1590 )
...
* Add `pprof` command
* Delete unused `GetWorkerPods` method
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-08-26 17:23:21 +03:00
M. Mert Yildiran
ba126dff51
Add X-Kubeshark-Capture: ignore
header to all of the HTTP requests ( #1579 )
...
* Add `X-Kubeshark-Capture: ignore` header to all of the HTTP requests
* Add `X-Kubeshark-Capture: ignore` header to WebSocket requests
* Reduce duplication
2024-08-10 15:35:54 -07:00
M. Mert Yildiran
5089e9ccb8
Add EXCLUDED_NAMESPACES
to ConfigMap
( #1571 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-08-02 08:25:32 -07:00
M. Mert Yildiran
48bf3f25c5
Remove pro
command ( #1566 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-07-19 17:19:01 +03:00
M. Mert Yildiran
a16f818bdf
Log front
and hub
pods ready ( #1562 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-07-16 21:07:08 -07:00
Alon Girmonsky
77ed1fdefe
Merge branch 'master' of github.com:kubeshark/kubeshark
2024-06-08 11:06:31 -07:00
M. Mert Yildiran
af2086a54d
✨ Add --grep
flag to logs
command
2024-05-23 01:20:55 +03:00
kindknow
ddabbac317
chore: fix some typos in comments ( #1529 )
...
Signed-off-by: kindknow <iturf@sina.com>
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-04-22 13:52:40 -07:00
Serhii Ponomarenko
18d051af28
🔥 Remove old Descope
auth ( #1490 )
...
* 🔥 Remove Descope-related config updates
* 🔥 Remove Descope-related helm values
* 🔥 Remove Descope-related k8s configs
* 🔥 Remove Descope-related fields from `tapConfig`
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-01-31 14:49:55 -08:00
Serhii Ponomarenko
a8dd332ff8
✨ SAML integration prototype ( #1475 )
...
* 🔨 Add `AUTH_TYPE` field to `ConfigMap`
* 🔨 Add `AUTH_SAML_IDP_METADATA_URL` field to `ConfigMap`
* 🔨 Add `AUTH_SAML_X509_CRT` field to `Secret`
* 🔨 Add `AUTH_SAML_X509_KEY` field to `Secret`
* 🔨 Mount SAML X.509 key pair into `hub`
* 🔨 Add `REACT_APP_AUTH_TYPE` environment variable to `front`
* 🔧 Add Nginx path rewrite for `/saml`
* 🔧 Raise request size to accept big SAML responses
* 🔨 Add `REACT_APP_AUTH_TYPE` environment default value
* 📝 Update `README.md`
* 📝 Update `README.md`
* 🔨 Add `AUTH_TYPE` config map key
* 🔨 Add `AUTH_SAML_IDP_METADATA_URL` config map key
* ☸ Set `CONFIG_AUTH_TYPE` from `TapConfig`
* ☸ Set `CONFIG_AUTH_SAML_IDP_METADATA_URL` from `TapConfig`
* ✨ Create `SamlConfig` in `TapConfig.AuthConfig`
* 🔨 Use updated `tap.auth.saml.idpMetadataUrl` tap config field
* 📝 Update `README.md`
* 🔨 Add `tap.insgress.enabled/host` to `ConfigMap`
* 🔨 Add `tap.proxy.front.port` to `ConfigMap`
* 🔨 Add `REACT_APP_AUTH_SAML_IDP_METADATA_URL` env to `front`
* 🔧 Supply `auth.saml` fields to `helm-chart/values.yaml`
* 🐛 Fix indentation for X.509 secrets
* 📝 Provide SAML setup docs
* 📝 Update SAML setup docs
* 📝 Update SAML setup docs
* Added callback URL indication
* 💥 Disable standard `Descope` auth
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-01-23 10:47:29 -08:00
Alon Girmonsky
7e77a76334
added custom release name support (-s) to the CLI's pro command ( #1483 )
2024-01-20 15:28:06 -08:00
M. Mert Yildiran
28bfbf4186
🐛 Fix the type of EfsFileSytemIdAndPath
field
2023-12-18 16:51:21 +03:00
Serhiy Berezin
d3c21a07bb
EFS persistent volume helm deployment support ( #1455 )
...
* EFS persistent volume
docs/14
EFS static and dynamic provision added to default
* Update helm-chart/values.yaml
Co-authored-by: M. Mert Yildiran <mehmetmertyildiran@gmail.com>
* Update helm-chart/templates/08-persistent-volume-claim.yaml
Co-authored-by: M. Mert Yildiran <mehmetmertyildiran@gmail.com>
* Update config/configStructs/tapConfig.go
Fix format
Co-authored-by: M. Mert Yildiran <mehmetmertyildiran@gmail.com>
* Fix format config/configStructs/tapConfig.go
Co-authored-by: M. Mert Yildiran <mehmetmertyildiran@gmail.com>
* Improve formatting
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
Co-authored-by: M. Mert Yildiran <mehmetmertyildiran@gmail.com>
2023-12-11 10:52:58 -08:00
M. Mert Yildiran
cc9dbbef2e
🔥 Remove tapPcapRunner.go
and --pcap
flag
2023-11-21 07:17:43 +03:00
M. Mert Yildiran
c03de2222d
✨ Add kube://
prefixed URI support ( #1454 )
...
* ✨ Add `kube://` prefixed URI support
* 🐛 Fix the `a container name must be specified for pod <POD_NAME>, choose one of: [sniffer tracer]` error
* 🐛 Fix all of the issues in `kube://` prefixed URI support
* 🐛 Fix the `invalid reference format` error
* 🐛 Fix the `kubeUrl`
2023-11-18 02:56:07 +03:00
M. Mert Yildiran
7737bdf4fc
🐛 Start watching scripts after the hub and front are ready
2023-11-03 01:05:03 +03:00
M. Mert Yildiran
cb0e89934d
🔨 Fix the AUTH_APPROVED_TENANTS
config map key
2023-10-27 22:04:42 +03:00
M. Mert Yildiran
62d4c3a86e
🔨 Add ApprovedTenants
field to AuthConfig
and enable auth by default
2023-10-26 20:27:34 +03:00
M. Mert Yildiran
773cf371f3
🩹 Exit if couldn't set the secret and log server init error instead of panic
2023-10-20 20:55:16 +03:00
M. Mert Yildiran
fb08481909
🔥 Delete the unused docker
package
2023-10-16 23:41:33 +03:00
M. Mert Yildiran
e1106e25c4
✨ Use emptyDir
as the default type of data
volume
2023-09-27 01:57:15 +03:00
M. Mert Yildiran
5bd44b57f4
✨ In case of tap
re-run, update the config and start a proxy
2023-09-25 23:21:38 +03:00
M. Mert Yildiran
41dacbff1a
🔨 Add tracer
as a separate container to worker DaemonSet
( #1428 )
...
* 🔨 Add `tracer` as a separate container to worker `DaemonSet`
* 🔥 Delete some of the unused connector methods
* 🔨 Set `POD_NAME` and `POD_NAMESPACE` environment variables in worker `DeamonSet`
* 🔨 Set `POD_NAME` and `POD_NAMESPACE` environment variables in hub `Deployment`
* Fix the labels
* Fix the self config role
* Restrict it to specific resource names
* Run `make generate-manifests`
2023-09-24 04:23:32 +03:00
M. Mert Yildiran
9bc3ea5ffc
🐛 Generate truly the default config with config -r
2023-09-21 21:43:00 +03:00
Luiz Oliveira
3dfff2b7a5
♻️ Turn the Ingress path rewrite for Hub into an Nginx location directive ( #1426 )
...
* fixes websocket for nginx-ingress
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
* update messagem when helm completes
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
* force react port to be a path
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
* include Authorization header to the proxy
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
* remove hub from proxy
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
* remove REACT_APP_HUB_PORT info
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
* include path back again to REACT_APP_HUB_PORT
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
---------
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
2023-09-15 21:43:34 +03:00
M. Mert Yildiran
fa1e7bcf01
🔧 Add TelemetryConfig
struct and --telemetry-enabled
flag to tap
command
2023-08-31 03:50:14 +03:00
M. Mert Yildiran
f59f84af02
✨ Add export
command to download PCAP export
2023-08-28 22:00:36 +03:00
M. Mert Yildiran
63eb39b451
🚑 Fix the pod regex in the watch function for the recent changes related to pod names
2023-08-22 23:24:40 +03:00
M. Mert Yildiran
5325f94f2b
🐛 Fix the flag redefined: release-namespace
error
2023-08-01 23:00:36 +03:00
M. Mert Yildiran
fc3bf69348
⚡ Add -s
flag to set release namespace into console
, proxy
and scripts
2023-07-31 23:09:04 +03:00
M. Mert Yildiran
b4e8573634
✨ Add license
command
2023-07-06 21:57:21 +03:00
M. Mert Yildiran
cfa12ea45e
🐛 FIx the websocket: bad handshake
error in console
command in case Ingress is enabled
2023-07-06 21:48:03 +03:00
M. Mert Yildiran
0ef3e2d018
⚡ Fix the issues related to release namespace
2023-07-03 16:33:50 +03:00
M. Mert Yildiran
77a14410f4
Revert " ⏪ Rename releasenamespace
field to selfnamespace
"
...
This reverts commit d8ee89225c
.
2023-07-03 15:11:21 +03:00
M. Mert Yildiran
51eddd3ae4
⚡ Fix the -r
flag behavior in config
command
2023-07-03 13:14:30 +03:00
M. Mert Yildiran
d8ee89225c
⏪ Rename releasenamespace
field to selfnamespace
2023-07-03 11:54:06 +03:00
M. Mert Yildiran
f7ce141d0d
⚡ Remove an unnecessary check
2023-07-03 11:45:00 +03:00
M. Mert Yildiran
aeda619104
⚡ Download files in parallel
2023-06-29 16:45:59 +03:00
M. Mert Yildiran
98738cb5a6
⚡ Use Prefix
field of ListObjectsV2Input
instead of strings.HasPrefix
check
2023-06-29 16:06:52 +03:00
M. Mert Yildiran
bf3285cb8b
🐛 Fix the collision of the -d
flag in tap
with the root level debug flag
2023-06-29 02:49:01 +03:00
M. Mert Yildiran
5f9084e497
⚡ Make the config
command print the current config instead of the default config
2023-06-29 02:39:35 +03:00
M. Mert Yildiran
f2a384c8db
⚡ Change the S3 URL to S3 URI in the flag description
2023-06-29 02:29:34 +03:00
M. Mert Yildiran
207d89fa17
🐛 Fix the cleanUpOldContainers
method by adding All: true
to ContainerListOptions
2023-06-29 02:22:57 +03:00
M. Mert Yildiran
3b758d15a0
⚡ Change the pattern of temporary file downloaded from S3
2023-06-29 02:21:32 +03:00
M. Mert Yildiran
261e850a59
⚡ Support folder URLs
2023-06-29 02:13:47 +03:00
M. Mert Yildiran
242a276c5f
⚡ Download all the objects in bucket and TAR them in case of key is empty in the S3 URL
2023-06-29 01:42:51 +03:00
M. Mert Yildiran
b9f9e860b6
⚡ Change the default namespace from kubeshark
to default
and use .Release.Namespace
in Helm templates
2023-06-27 21:06:44 +03:00
M. Mert Yildiran
a4761e3262
⚡ Handle the column character in REACT_APP_HUB_PORT
environment variable
2023-06-27 14:43:53 +03:00
M. Mert Yildiran
cc980dbaf8
⚡ Print a warning if the storage limit modified while persistent storage is disabled and default its value
2023-06-23 02:08:42 +03:00