You can now use env0-hosted encrypted state as an alternative to setting up PersistentVolumeClaims (PVCs) when using env0's Self-Hosted Agents. env0 will encrypt (with a customer provided encryption key) the working directory and persist it in env0's secure cloud native file system.
Simply add a
"env0StateEncryptionKey" key-value pair to your agent's
<your_agent_key>_values.yaml and you're all set. Find out more at Env0-Hosted Encrypted State.