Secrets not work for mode 600

okteto.yml

dev:
  myservice:
    secrets:
    - bashrc:/root/.bashrc:644
    - $USERPROFILE\credentials.toml:/usr/local/cargo/credentials.toml:600

In my dev environment:

$ ls -l /root/.bashrc
-rw-r--r-- 1 root root 482 May 11 02:48 /root/.bashrc

$ ls -l /usr/local/cargo/credentials.toml
-rw-r----- 1 root root 57 May 11 02:48 /usr/local/cargo/credentials.toml

credentials.toml mode should be 0600, but in fact 0640.

OS: Windows 10

Hey @elferia !

This seems to be a bug on the Okteto CLI. We filed this issue to track this.

We will fix the bug and notify you when it is fixed

1 Like