diff --git a/Cargo.lock b/Cargo.lock index 1e0f1606..3b61db5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2708,7 +2708,7 @@ dependencies = [ [[package]] name = "kftray-server" -version = "0.13.3" +version = "0.14.0" dependencies = [ "byteorder", "ctrlc", @@ -2720,7 +2720,7 @@ dependencies = [ [[package]] name = "kftray-tauri" -version = "0.13.3" +version = "0.14.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -2762,7 +2762,7 @@ dependencies = [ [[package]] name = "kftui" -version = "0.13.3" +version = "0.14.0" dependencies = [ "anyhow", "base64 0.22.1", diff --git a/README.md b/README.md index 4ac95c05..d3059108 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ KFtray and KFtui solve these issues by being more reliable and easier to use. Th - **Multi-Protocol Support:** Enables access to internal or external servers through a Proxy Relay server deployed in a Kubernetes cluster, including TCP and UDP port forwarding. - **HTTP Logs Tracing:** Enable or disable HTTP logs for specific configurations to save the requests and responses in a local log file. _(Currently available only in the KFtray desktop app)_ - [Blog Post](https://kftray.app/blog/posts/6-debug-http-traffics-kftray) - **GitHub Sync:** Keep your configurations saved on GitHub and share or synchronize them in a GitOps style. _(Currently available only in the KFtray desktop app)_ +- **Auto Import:** Automatically import Kubernetes service configurations based on specific annotations. ## 🗂 Features Matrix @@ -81,6 +82,7 @@ KFtray and KFtui solve these issues by being more reliable and easier to use. Th | HTTP Logs Tracing | ✔️ | ❌ (Coming Soon) | | GitHub Sync | ✔️ | ❌ (Coming Soon) | | Local JSON File Configuration | ✔️ | ✔️ | +| Auto Import with k8s Annotations | ✔️ | ✔️ | diff --git a/crates/kftray-commons/src/utils/config.rs b/crates/kftray-commons/src/utils/config.rs index 5c9c1015..7761f396 100644 --- a/crates/kftray-commons/src/utils/config.rs +++ b/crates/kftray-commons/src/utils/config.rs @@ -176,7 +176,7 @@ pub async fn export_configs() -> Result { let default_config = serde_json::to_value(Config::default()).map_err(|e| e.to_string())?; remove_blank_or_default_fields(&mut json_config, &default_config); - let json = serde_json::to_string(&json_config).map_err(|e| e.to_string())?; + let json = serde_json::to_string_pretty(&json_config).map_err(|e| e.to_string())?; Ok(json) } diff --git a/crates/kftray-server/Cargo.toml b/crates/kftray-server/Cargo.toml index c92e95d2..7c3b1f11 100644 --- a/crates/kftray-server/Cargo.toml +++ b/crates/kftray-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kftray-server" -version = "0.13.3" +version = "0.14.0" description = "KFtray Server is a Rust application that relays UDP/TCP traffic to an upstream server" authors = [ "Henrique Cavarsan ", diff --git a/crates/kftray-tauri/Cargo.toml b/crates/kftray-tauri/Cargo.toml index 25898957..deb00d65 100644 --- a/crates/kftray-tauri/Cargo.toml +++ b/crates/kftray-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kftray-tauri" -version = "0.13.3" +version = "0.14.0" description = "A cross-platform system tray app for Kubernetes port-forward management" authors = ["Henrique Cavarsan "] license = "MIT" diff --git a/crates/kftray-tauri/tauri.conf.json b/crates/kftray-tauri/tauri.conf.json index 27f19c6e..f91d3871 100644 --- a/crates/kftray-tauri/tauri.conf.json +++ b/crates/kftray-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "kftray", - "version": "0.13.3" + "version": "0.14.0" }, "tauri": { "allowlist": { diff --git a/crates/kftui/Cargo.toml b/crates/kftui/Cargo.toml index 88b1d065..39b5fd12 100644 --- a/crates/kftui/Cargo.toml +++ b/crates/kftui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kftui" -version = "0.13.3" +version = "0.14.0" description = "KFtray TUI is a Rust application that manage multiple kubectl port forward configurations" authors = [ "Henrique Cavarsan ", @@ -65,4 +65,4 @@ built = "0.7.4" [build-dependencies] -built = "0.7" +built = "0.7" \ No newline at end of file diff --git a/docs/kftray/INSTALL.md b/docs/kftray/INSTALL.md index 6e0bb00e..bf2e4d48 100644 --- a/docs/kftray/INSTALL.md +++ b/docs/kftray/INSTALL.md @@ -32,22 +32,22 @@ Linux Note: due to GTK limitations, it is necessary to install and enable the GN Download the latest release directly from GitHub:
- + Download for macOS - + Download for Windows ARM64 - + Download for Windows x64 - + Download for Windows x86 - + Download for Linux AMD64 - + Download for Linux ARM64
diff --git a/frontend/package.json b/frontend/package.json index c541610e..d4a5a440 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "@kftray/ui", - "version": "0.13.3", + "version": "0.14.0", "private": true, "type": "module", "scripts": {