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
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
e4a09be4e2
⚡ Change the PRO_URL constant
2023-06-07 01:09:30 +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
2edb987c07
⚡ Template REACT_APP_HUB_PORT in the Helm chart
2023-05-25 20:24:29 +03:00
M. Mert Yildiran
be5bd6a372
⚡ Template the AUTH_APPROVED_DOMAINS and certmanager.k8s.io/cluster-issuer
...
Also add `networking.k8s.io` to `apiGroups` in `ClusterRole`
2023-05-25 05:07:42 +03:00
M. Mert Yildiran
39f8d40b76
Revert " ⚡ Add Refresh-Token to the list of Access-Control-Allow-Headers"
...
This reverts commit bf731073c8 .
2023-05-24 02:10:48 +03:00
M. Mert Yildiran
bf731073c8
⚡ Add Refresh-Token to the list of Access-Control-Allow-Headers
2023-05-24 02:04:56 +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
ad9dfbce40
✨ Add Ingress ( #1357 )
...
* ✨ Add `Ingress`
* ⚡ Rewrite the target in `Ingress`
* ⚡ Fix the path of front pod in `Ingress`
* ✨ Add `IngressConfig` struct
* ⚡ Generate the correct Helm chart based on `tap.ingress` field of `values.yaml`
2023-05-16 19:46:47 +03:00
M. Mert Yildiran
139336d4ee
⚡ Template hostPort(s) in the Helm chart
2023-05-10 14:38:38 +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
1d7d242e6c
⚡ Generate the missing new line in 08-persistent-volume-claim.yaml
2023-05-09 00:00:07 +03:00
M. Mert Yildiran
aa904e23c7
✨ Add --persistentstorage option to tap command
2023-05-08 23:57:22 +03:00
M. Mert Yildiran
baf0e65337
⚡ Template the Helm chart based on persistentstorage value
2023-05-08 23:52:14 +03:00
M. Mert Yildiran
0aee367ad5
⚡ Omit the license string in helm-chart and manifests commands
2023-05-04 21:37:55 +03:00
M. Mert Yildiran
8c7d9ea8fd
⚡ Fix the updateLicense method
2023-05-04 21:33:38 +03:00
M. Mert Yildiran
2563cc1922
🐛 Fix the imagePullPolicy to imagepullpolicy in helm-chart command
2023-04-24 02:03:58 +03:00
M. Mert Yildiran
01b187aaa3
⚡ Update a log message
2023-04-20 20:22:33 +03:00
M. Mert Yildiran
38d121556c
✨ Add storageclass option to config.yaml
2023-04-20 20:20:24 +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