Alon Girmonsky
5f13f7d28d
Added an option to provide multiple script sources. ( #1640 )
2024-11-05 17:00:33 -08:00
Volodymyr Stoiko
bba1bbd1fb
Watch cm creation and sync scripts ( #1637 )
...
* Fix graceful shutdown
* add helpers
* Watch for configmap changes
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-11-05 13:35:17 -08:00
Alon Girmonsky
41f36ba9c2
Added the scripting console
command functionality to the tap
command
...
Added both the `scripting` and `console` commands to the `proxy` command
Added a `scripting.console`, a boolean value indicating whether the `console`
functionality should be part of the `tap` and `proxy` commands
2024-10-11 13:06:02 -07:00
M. Mert Yildiran
3d5c999be1
Make the scritps
command directly use the K8s API without requiring a connector to Hub ( #1615 )
...
* Make the `scritps` command directly use the K8s API without requiring a connector to Hub
* Fix linter
* Fix linter
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
2024-09-23 10:11:44 -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
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
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
M. Mert Yildiran
cc9dbbef2e
🔥 Remove tapPcapRunner.go
and --pcap
flag
2023-11-21 07:17:43 +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
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
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
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
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
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
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
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
M. Mert Yildiran
1afe27e969
✨ Add S3 URL support to --pcap
flag
2023-06-22 20:59:14 +03:00
M. Mert Yildiran
8df5e015c5
⚡ Call os.Exit
if the Helm install fails
2023-06-21 17:11:03 +03:00
M. Mert Yildiran
bada6dae68
🐛 Fix <len .Values.tap.namespaces>: error calling len: len of nil pointer
Helm install error
2023-06-20 22:14:06 +03:00
M. Mert Yildiran
7b004e7a1f
⚡ Change GetLocalhostOnPort
method to GetProxyOnPort
2023-06-19 02:19:52 +03:00
M. Mert Yildiran
7a5bf83336
✨ Use the Helm chart in tap
command to install Kubeshark ( #1362 )
...
* ✨ Use the Helm chart in `tap` command to install Kubeshark
* ⬆️ Set Go version to `1.19` in `go.mod` file
* ✨ Add `Helm` struct`, `NewHelm` and `NewHelmDefault` methods
* ⚡ Better logging and error return
* ⚡ Pass the config as `values.yaml` to Helm install
* 🔥 Remove `helm-chart`, `manifests` and `check` commands
* ➖ Run `go mod tidy`
* 🎨 Move `helm` package into `kubernetes` package
* 🔥 Remove `# THIS FILE IS AUTOMATICALLY GENERATED BY KUBESHARK CLI. DO NOT EDIT!` notice from the manifests and Helm templates
* 🔥 Remove the unused `GenerateApplyConfiguration` and `buildWithDefaultLabels` methods
2023-06-06 12:16:03 +03:00
M. Mert Yildiran
2126fc83a7
🐛 Remove the cancel()
call
2023-05-22 19:20:39 +03:00
M. Mert Yildiran
d0c1dbcd5e
⚡ Print and open a different URL in case of Ingress
is enabled
2023-05-17 03:57:27 +03:00
M. Mert Yildiran
f68fed0de8
🐛 Fix the effect of proxy config port changes
2023-05-10 01:28:43 +03:00
M. Mert Yildiran
01b187aaa3
⚡ Update a log message
2023-04-20 20:22:33 +03:00
M. Mert Yildiran
466b9099bd
⚡ Ignore the Kubernetes version check in certain commands while creating the Kubernetes provider
2023-04-20 20:09:19 +03:00
M. Mert Yildiran
657ea8570c
✨ Add PersistentVolumeClaim
and mount it to worker DaemonSet
2023-04-20 00:09:22 +03:00
M. Mert Yildiran
9a37781355
🔥 Remove the grace period
2023-04-19 05:18:59 +03:00
M. Mert Yildiran
5ce10b626f
⚡ Pass every config through environment variables and don't make HTTP calls in first tap
command
2023-04-18 03:21:23 +03:00
M. Mert Yildiran
c42481deb8
✨ Add POD_REGEX
, NAMESPACES
, STORAGE_LIMIT
and LICENSE
environment variables to Hub
2023-04-11 18:40:34 +03:00
M. Mert Yildiran
5dafc015bb
✨ Add manifests
command to generate Kubernetes manifests
2023-04-11 01:54:06 +03:00
M. Mert Yildiran
7f6f710b3f
🐛 Fix selfnamespace
issue by changing its location in the config and adding --selfnamespace
flag to tap
and clean
commands
2023-03-26 23:26:35 +03:00
M. Mert Yildiran
a4d35599df
⚡ Change some logs
2023-03-13 22:45:57 +03:00
M. Mert Yildiran
b4a3a0451e
⚡ Increase DefaultSleep
value
2023-03-13 22:42:17 +03:00
M. Mert Yildiran
cedb7bc8bc
✨ Watch scripts inside tap
command
2023-03-07 20:21:28 +03:00
M. Mert Yildiran
9a95fa364c
⚡ Change consts
config field to env
2023-03-03 17:32:19 +03:00
M. Mert Yildiran
72a18871b1
✨ Update Hub about the changes in the config in case of kubeshark tap
re-run
2023-02-16 20:06:39 +03:00
M. Mert Yildiran
0a00dfbaf5
⚡ Add grace period
2023-02-16 00:58:01 +03:00
M. Mert Yildiran
f0b68cb44b
⏪ Revert "Create Worker(s) before Hub"
2023-02-15 22:33:59 +03:00
M. Mert Yildiran
384f62f94f
⚡ Create Worker(s) before Hub and reduce the grace periods
2023-02-15 00:43:30 +03:00
M. Mert Yildiran
41ba509428
✨ Add scripts
command
2023-02-14 20:23:25 +03:00