kubeshop / monokle

Monokle is a set of OSS tools designed to help create and maintain high-quality Kubernetes configurations throughout the application lifecycle
https://monokle.io
MIT License
1.85k stars 135 forks source link

PATH / environment is not read #1538

Closed scalp42 closed 2 years ago

scalp42 commented 2 years ago

Describe the bug

It cannot interact with the remote cluster.

Screenshots Screen Shot 2022-03-30 at 20 52 35

Desktop (please complete the following information):

Additional context Seems that a fix was shipped here: #1285

When I try to update kube config by specifying aws path, I get a bit further but now it won't read my .aws/config correctly until I also specify full path. If I do, it still won't work as it won't interpolate an ENV variable I need for MFA:

[profile main]
include_profile = example
credential_process = sh -c '/opt/homebrew/bin/aws-vault exec main --mfa-token=$(/opt/homebrew/bin/oathtool --totp --base32 --digits=6 $AWS_MAIN_IAM_TOTP_KEY) --duration=1h --json'

In that case $AWS_EXAMPLE_IAM_TOTP_KEY is empty and of course it won't work.

Let me know what you think, thanks folks!

erdkse commented 2 years ago

Thank you @scalp42 for reporting this issue. We are aware of and working on this PATH/environment issue. We are planning to release 1.6.3 with this fix.

scalp42 commented 2 years ago

sweet, thanks for the quick response 🙌

erdkse commented 2 years ago

hey @scalp42 could you please try this release and tell us if you are still receiving the issue?

https://github.com/kubeshop/monokle/releases/tag/v1.6.3-nightly-2022-04-05.0