From 3d5a5c4b773a491d242e3c9cbba703b91ab9166f Mon Sep 17 00:00:00 2001 From: Razz4780 Date: Tue, 10 Dec 2024 10:21:16 +0100 Subject: [PATCH 1/2] 3.127.0 --- CHANGELOG.md | 25 +++++++++ Cargo.lock | 56 +++++++++---------- Cargo.toml | 2 +- changelog.d/+block-mirroring-policy.added.md | 1 - ...block-mirroring-response-error.internal.md | 1 - changelog.d/+link-to-operator-docs.fixed.md | 1 - changelog.d/+update-deps.internal.md | 1 - changelog.d/2952.changed.md | 1 - 8 files changed, 54 insertions(+), 34 deletions(-) delete mode 100644 changelog.d/+block-mirroring-policy.added.md delete mode 100644 changelog.d/+block-mirroring-response-error.internal.md delete mode 100644 changelog.d/+link-to-operator-docs.fixed.md delete mode 100644 changelog.d/+update-deps.internal.md delete mode 100644 changelog.d/2952.changed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 2264192a009..122f3dcf1a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,31 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [3.127.0](https://github.com/metalbear-co/mirrord/tree/3.127.0) - 2024-12-10 + + +### Added + +- `MirrordPolicy` can now block traffic mirroring (requires operator support). + + +### Changed + +- Updated dependencies. + [#2952](https://github.com/metalbear-co/mirrord/issues/2952) + + +### Fixed + +- Fixed link to operator docs. + + +### Internal + +- Added `mirrord-protocol` message for rejecting mirror port subscription due + to `MirrordPolicy`. +- Updated hickory dependency version. + ## [3.126.0](https://github.com/metalbear-co/mirrord/tree/3.125.3) - 2024-12-06 diff --git a/Cargo.lock b/Cargo.lock index 09852a8212b..008a42858c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2410,7 +2410,7 @@ dependencies = [ [[package]] name = "fileops" -version = "3.126.0" +version = "3.127.0" dependencies = [ "libc", ] @@ -3536,7 +3536,7 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "issue1317" -version = "3.126.0" +version = "3.127.0" dependencies = [ "actix-web", "env_logger 0.11.5", @@ -3546,7 +3546,7 @@ dependencies = [ [[package]] name = "issue1776" -version = "3.126.0" +version = "3.127.0" dependencies = [ "errno 0.3.10", "libc", @@ -3555,7 +3555,7 @@ dependencies = [ [[package]] name = "issue1776portnot53" -version = "3.126.0" +version = "3.127.0" dependencies = [ "libc", "socket2", @@ -3563,14 +3563,14 @@ dependencies = [ [[package]] name = "issue1899" -version = "3.126.0" +version = "3.127.0" dependencies = [ "libc", ] [[package]] name = "issue2001" -version = "3.126.0" +version = "3.127.0" dependencies = [ "libc", ] @@ -3891,7 +3891,7 @@ checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "listen_ports" -version = "3.126.0" +version = "3.127.0" [[package]] name = "litemap" @@ -4119,7 +4119,7 @@ dependencies = [ [[package]] name = "mirrord" -version = "3.126.0" +version = "3.127.0" dependencies = [ "actix-codec", "clap", @@ -4179,7 +4179,7 @@ dependencies = [ [[package]] name = "mirrord-agent" -version = "3.126.0" +version = "3.127.0" dependencies = [ "actix-codec", "async-trait", @@ -4235,7 +4235,7 @@ dependencies = [ [[package]] name = "mirrord-analytics" -version = "3.126.0" +version = "3.127.0" dependencies = [ "assert-json-diff", "base64 0.22.1", @@ -4249,7 +4249,7 @@ dependencies = [ [[package]] name = "mirrord-auth" -version = "3.126.0" +version = "3.127.0" dependencies = [ "bcder", "chrono", @@ -4270,7 +4270,7 @@ dependencies = [ [[package]] name = "mirrord-config" -version = "3.126.0" +version = "3.127.0" dependencies = [ "bimap", "bitflags 2.6.0", @@ -4293,7 +4293,7 @@ dependencies = [ [[package]] name = "mirrord-config-derive" -version = "3.126.0" +version = "3.127.0" dependencies = [ "proc-macro2", "proc-macro2-diagnostics", @@ -4303,7 +4303,7 @@ dependencies = [ [[package]] name = "mirrord-console" -version = "3.126.0" +version = "3.127.0" dependencies = [ "bincode", "drain", @@ -4319,7 +4319,7 @@ dependencies = [ [[package]] name = "mirrord-intproxy" -version = "3.126.0" +version = "3.127.0" dependencies = [ "bytes", "exponential-backoff", @@ -4349,7 +4349,7 @@ dependencies = [ [[package]] name = "mirrord-intproxy-protocol" -version = "3.126.0" +version = "3.127.0" dependencies = [ "bincode", "mirrord-protocol", @@ -4359,7 +4359,7 @@ dependencies = [ [[package]] name = "mirrord-kube" -version = "3.126.0" +version = "3.127.0" dependencies = [ "actix-codec", "async-stream", @@ -4389,7 +4389,7 @@ dependencies = [ [[package]] name = "mirrord-layer" -version = "3.126.0" +version = "3.127.0" dependencies = [ "actix-codec", "base64 0.22.1", @@ -4439,7 +4439,7 @@ dependencies = [ [[package]] name = "mirrord-layer-macro" -version = "3.126.0" +version = "3.127.0" dependencies = [ "proc-macro2", "quote", @@ -4448,7 +4448,7 @@ dependencies = [ [[package]] name = "mirrord-macros" -version = "3.126.0" +version = "3.127.0" dependencies = [ "proc-macro2", "proc-macro2-diagnostics", @@ -4458,7 +4458,7 @@ dependencies = [ [[package]] name = "mirrord-operator" -version = "3.126.0" +version = "3.127.0" dependencies = [ "base64 0.22.1", "bincode", @@ -4492,7 +4492,7 @@ dependencies = [ [[package]] name = "mirrord-progress" -version = "3.126.0" +version = "3.127.0" dependencies = [ "enum_dispatch", "indicatif", @@ -4527,7 +4527,7 @@ dependencies = [ [[package]] name = "mirrord-sip" -version = "3.126.0" +version = "3.127.0" dependencies = [ "apple-codesign", "object 0.36.5", @@ -4540,7 +4540,7 @@ dependencies = [ [[package]] name = "mirrord-vpn" -version = "3.126.0" +version = "3.127.0" dependencies = [ "futures", "ipnet", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "outgoing" -version = "3.126.0" +version = "3.127.0" [[package]] name = "outref" @@ -5975,14 +5975,14 @@ dependencies = [ [[package]] name = "rust-bypassed-unix-socket" -version = "3.126.0" +version = "3.127.0" dependencies = [ "tokio", ] [[package]] name = "rust-e2e-fileops" -version = "3.126.0" +version = "3.127.0" dependencies = [ "libc", ] @@ -5998,7 +5998,7 @@ dependencies = [ [[package]] name = "rust-unix-socket-client" -version = "3.126.0" +version = "3.127.0" dependencies = [ "tokio", ] diff --git a/Cargo.toml b/Cargo.toml index 670566a1e62..11f578c8c28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ resolver = "2" # latest commits on rustls suppress certificate verification [workspace.package] -version = "3.126.0" +version = "3.127.0" edition = "2021" license = "MIT" readme = "README.md" diff --git a/changelog.d/+block-mirroring-policy.added.md b/changelog.d/+block-mirroring-policy.added.md deleted file mode 100644 index ad04418f163..00000000000 --- a/changelog.d/+block-mirroring-policy.added.md +++ /dev/null @@ -1 +0,0 @@ -`MirrordPolicy` can now block traffic mirroring (requires operator support). diff --git a/changelog.d/+block-mirroring-response-error.internal.md b/changelog.d/+block-mirroring-response-error.internal.md deleted file mode 100644 index 7bf82b2cc45..00000000000 --- a/changelog.d/+block-mirroring-response-error.internal.md +++ /dev/null @@ -1 +0,0 @@ -Added `mirrord-protocol` message for rejecting mirror port subscription due to `MirrordPolicy`. diff --git a/changelog.d/+link-to-operator-docs.fixed.md b/changelog.d/+link-to-operator-docs.fixed.md deleted file mode 100644 index 2990373219a..00000000000 --- a/changelog.d/+link-to-operator-docs.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix link to operator docs diff --git a/changelog.d/+update-deps.internal.md b/changelog.d/+update-deps.internal.md deleted file mode 100644 index 69d615423d4..00000000000 --- a/changelog.d/+update-deps.internal.md +++ /dev/null @@ -1 +0,0 @@ -Update hickory dependency version. diff --git a/changelog.d/2952.changed.md b/changelog.d/2952.changed.md deleted file mode 100644 index 9d4d77f4167..00000000000 --- a/changelog.d/2952.changed.md +++ /dev/null @@ -1 +0,0 @@ -Update dependencies. From 9d241c46caaeb145df6b8cb2b26b9195d4cea76b Mon Sep 17 00:00:00 2001 From: Razz4780 Date: Tue, 10 Dec 2024 11:37:47 +0100 Subject: [PATCH 2/2] Fixed operator setup --- mirrord/operator/src/setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirrord/operator/src/setup.rs b/mirrord/operator/src/setup.rs index 9aaaa5df59b..cb4e457df55 100644 --- a/mirrord/operator/src/setup.rs +++ b/mirrord/operator/src/setup.rs @@ -724,7 +724,7 @@ impl OperatorRole { let rules = vec![ // Allow the operator to fetch Secrets in the operator's namespace PolicyRule { - api_groups: Some(vec![MirrordKafkaClientConfig::group(&()).into_owned()]), + api_groups: Some(vec!["".to_owned()]), resources: Some(vec!["secrets".to_owned()]), verbs: ["get", "list", "watch"] .into_iter()