M. Mert Yildiran
2d17d1a83d
➕ ➖ Replace gopkg.in/yaml.v3 with github.com/goccy/go-yaml
2023-09-21 21:36:08 +03:00
Luiz Oliveira
1ccaa03fb2
🏗️ Give the user ability to set ingress as needed ( #1417 )
...
* Give the user hability to set ingress as needed
- Removed unecessary IngressClass.
- If no IngressClassName passed, use cluster's default class
- Renamed `ingressclass` with `IngressClassName`. Is the standard name
used for it.
- Included custom annotations for Ingress. This way user can set any
custom annotation for the ingress only.
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
* Update helm-chart/templates/11-ingress.yaml
Co-authored-by: M. Mert Yildiran <me@mertyildiran.com >
* Update config/configStructs/tapConfig.go
Co-authored-by: M. Mert Yildiran <me@mertyildiran.com >
* Update helm-chart/templates/11-ingress.yaml
Co-authored-by: M. Mert Yildiran <me@mertyildiran.com >
* update default ingressClassName value
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
---------
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com >
Co-authored-by: M. Mert Yildiran <me@mertyildiran.com >
2023-09-04 02:18:43 +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
78c1c02fe6
🔥 Delete the recently added KMM related resources
2023-08-14 17:43:44 +03:00
M. Mert Yildiran
54c5da2fcb
⚡ Add a default NodeSelectorTerm that's matching Linux OS
2023-08-12 03:28:33 +03:00
M. Mert Yildiran
f4ff4d4dd6
✨ Add KMMConfig struct to TapConfig
2023-08-12 02:41:29 +03:00
M. Mert Yildiran
5ca90d70ff
⚡ Have consistent case style in values.yaml
2023-08-09 20:16:49 +03:00
M. Mert Yildiran
65bda4e844
⚡ Add the IPv6 field to TapConfig struct
2023-08-09 01:24:08 +03:00
M. Mert Yildiran
c533bcd38c
✨ Add AUTH_ENABLED and AUTH_APPROVED_EMAILS environment variables to Hub's template
2023-08-09 01:22:10 +03:00
M. Mert Yildiran
988bb16260
Use the tap.proxy.hub.port and tap.proxy.hub.srvport in the Helm templates
2023-07-09 22:58:02 +03:00
M. Mert Yildiran
b4e8573634
✨ Add license command
2023-07-06 21:57:21 +03:00
M. Mert Yildiran
0f1f832ddd
🐛 Add the missing json struct tags to ResourcesConfig
2023-07-03 23:26:18 +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
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
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
16f1e116c0
⚡ Template the annotations in all resources
2023-06-27 03:45:47 +03:00
M. Mert Yildiran
2d625eccaa
⚡ Rename resourcelabels to labels
2023-06-27 03:33:46 +03:00
M. Mert Yildiran
19443501da
⚡ Have consistent key style in values.yaml
2023-06-27 03:32:03 +03:00
M. Mert Yildiran
4ef91a2701
✨ Template the controller field in IngressClass resource
2023-06-27 03:27:40 +03:00
M. Mert Yildiran
f32a7d97ec
✨ Template the ingressClassName field in Ingress resource
2023-06-27 03:25:58 +03:00
M. Mert Yildiran
a8df589076
⏪ Bring back the functionality of nodeselectorterms field into the Helm chart
2023-06-27 01:32:16 +03:00
M. Mert Yildiran
5c4c913a27
⏪ Bring back the functionality of resourcelabels field into the Helm chart
2023-06-27 01:12:04 +03:00
M. Mert Yildiran
5efb48f0c5
⏪ Bring back the functionality of ignoretainted field into the Helm chart
2023-06-27 00:15:04 +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
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
c19cd00c77
⚡ Add CertManager field to IngressConfig and add an Ingress TLS example
2023-05-24 04:01:45 +03:00
M. Mert Yildiran
4bb68afaaf
✨ Add AuthConfig struct and pass domains in AUTH_APPROVED_DOMAINS environment variable
2023-05-24 01:50:59 +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
f68fed0de8
🐛 Fix the effect of proxy config port changes
2023-05-10 01:28:43 +03:00
M. Mert Yildiran
aa904e23c7
✨ Add --persistentstorage option to tap command
2023-05-08 23:57:22 +03:00
M. Mert Yildiran
a33a3467fc
✨ Add persistentstorage option
2023-05-08 00:50:56 +03:00
M. Mert Yildiran
38d121556c
✨ Add storageclass option to config.yaml
2023-04-20 20:20:24 +03:00
M. Mert Yildiran
c342885cae
⚡ Set the default storage limit to 200Mi
2023-04-20 02:48:18 +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
686dd5fba1
🔥 Remove the -A flag and allnamespaces field from config.yaml
2023-04-19 20:52:28 +03:00
M. Mert Yildiran
18addbb980
⚡ Fix the issues in Helm chart such that helm template succeeds
2023-04-12 02:12:12 +03:00
M. Mert Yildiran
02990912b7
⚡ Move ResourceLabels and NodeSelectorTerms fields into TapConfig
2023-04-11 22:37:29 +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
d1b17d4534
✨ Build worker DaemonSet separately then apply it by converting it to ApplyConfiguration
2023-04-10 22:24:54 +03:00
M. Mert Yildiran
e4684a10af
✨ Add --ignoreTainted flag to tap command
2023-03-27 16:26:09 +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
261df8261f
🐛 Use tap config for console, pro, proxy and scripts commands
2023-03-26 21:40:49 +03:00
M. Mert Yildiran
e1ada1768d
🐛 Remove configpath field from the config and call os.MkdirAll before regenerating config
2023-03-19 20:58:20 +03:00
M. Mert Yildiran
0dac046f57
🐛 Fix the issues in pro, console, proxy, config and scripts commands
2023-03-19 18:39:22 +03:00
M. Mert Yildiran
b7f0dd7f3c
🔨 Rename the newly added customLabels field to resourceLabels in the config
2023-03-16 02:34:41 +03:00
M. Mert Yildiran
d9ec538aff
✨ Add customLabels field to config.yaml
2023-03-14 23:45:41 +03:00
M. Mert Yildiran
a4d35599df
⚡ Change some logs
2023-03-13 22:45:57 +03:00