Releases: metalbear-co/mirrord
Releases · metalbear-co/mirrord
3.7.1
3.7.0
Added
- mirrord-config: New
mirrord-schema.json
file that contains docs and types which should help the user write their mirrord config files. This file has to be manually generated (there is a test to help you remember).
Fixed
- IntelliJ: Fix occurring of small namespace selection window and make mirrord dialogs resizable
- IntelliJ: Fix bug when pressing cancel in mirrord dialog and rerunning the application no mirrord window appears again
- VS Code: Fix crash occurring because it used deprecated env vars.
Changed
- mirrord-config: Take
schema
feature out of feature flag (now it's always on). - mirrord-config: Add docs for the user config types.
3.6.0
Added
- mirrord-layer: Allow capturing tracing logs to file and print github issue creation link via MIRRORD_CAPTURE_ERROR_TRACE env variable
Fixed
- Fix vscode artifacts where arm64 package was not released.
- IntelliJ plugin: if namespaces can't be accessed, use the default namespace
Changed
- Add
/home
to default file exclude list. - Changed log level of
Bypassing operation...
from warning to trace. - IntelliJ settings default to match CLI/VSCode.
3.5.3
3.5.2
3.5.1
3.5.0
Added
- aarch64 release binaries (no go support yet, no IntelliJ also).
- mirrord-layer: Add
FileFilter
that allows the user to include or exclude file paths (with regex support) for file operations.
Changed
- mirrord-layer: Improve error message when user tries to run a program with args without
--
. - Add tests for environment variables passed to KubeApi for authentication feature for cli credential fetch
- Remove openssl/libssl dependency, cross compilation is easier now. (It wasn't needed/used)
- mirrord-config: Changed the way
fs
works: now it supports 2 modesSimple
andAdvanced
, whereSimple
is similar to the old behavior (enables read-only, read-write, or disable file ops), andAdvanced
allows the user to specify include and exclude (regexes) filters forFileFilter
. - Lint
README
and update it for--target
flag. - mirrord-layer: improve error message for invalid targets.
Removed
--pod-name
,--pod-namespace
,--impersonated_container_name
have been removed in favor of--target
,--target-namespace
Fixed
- Env var to ignore ports used by a debugger for intelliJ/VSCode, refer #644
3.4.0
Added
- Add changelog for intelliJ extension, closes #542
- Add filter for changelog to ci.yml
- Telemetry for intelliJ extension.
Changed
- Update intelliJ extension: lint & bump java version to 17.
- Added
/Users
and/Library
to path to ignore for file operations to improve UX on macOS. - Use same default options as CLI in intelliJ extension.
- Improve UI layout of intelliJ extension.
- Separate tcp and udp outgoing option in intelliJ extension.
- Tighter control of witch environment variables would be passed to the KubeApi when fetching credentials via cli in kube-config. See #637
Fixed
- Lint Changelog and fix level of a "Changed" tag.
- File operations - following symlinks now works as expected. Previously, absolute symlinks lead to use our own path instead of target path. For example, AWS/K8S uses
/var/run/..
for service account credentials. In many machines,/var/run
is symlink to/run
so we were using/run/..
instead of/proc/{target_pid}/root/run
. - Fix not reappearing window after pressing cancel-button in intelliJ extension.
3.3.0
Added
- Telemetries, see TELEMETRY.md for more information.
Changed
- Added timeout for "waiting for pod to be ready..." in mirrord-layer to prevent unresponsive behavior. See #579
- IntelliJ Extension: Default log level to
ERROR
fromDEBUG
Fixed
- Issue with bottlerocket where they use
/run/dockershim.sock
instead of the default containerd path. Add new path as fallback.
3.2.0
Changed
- Extended support for both
-s
and-x
wildcard matching, now supportsPREFIX_*
,*_SUFFIX
, ect. - Add to env default ignore
JAVA_HOME
,HOMEPATH
,CLASSPATH
,JAVA_EXE
as it's usually runtime that you don't want from remote. Possibly fixes issue discussed on Discord (used complained that they had to use absolute path and not relative). - Add
jvm.cfg
to default bypass for files. - Clarify wrong target error message.
- mirrord-layer: Improve error message in
connection::handle_error
.
Fixed
- Don't ignore passed
--pod-namespace
argument, closes
[#605] - Replace deprecated environment variables in IntelliJ plugin
- Issues with IntelliJ extension when debugging Kotlin applications
- Scrollable list for pods and namespaces for IntelliJ extension, closes [#610]
Deprecated
--impersonated-container-name
andMIRRORD_IMPERSONATED_CONTAINER_NAME
are
deprecated in favor of--target
orMIRRORD_IMPERSONATED_TARGET
--pod-namespace
andMIRRORD_AGENT_IMPERSONATED_POD_NAMESPACE
are deprecated in
favor of--target-namespace
andMIRRORD_TARGET_NAMESPACE