I just got my Octopus able to run a Helm Chart (Yay!) But Helm is complaining that the Kubernetes configuration file is not as secure as it should be. Here are the warnings:
April 27th 2021 00:03:39 Error
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/octopus/Work/20210427060338-122311-17/staging/kubectl-octo.yml
April 27th 2021 00:03:39 Error
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/octopus/Work/20210427060338-122311-17/staging/kubectl-octo.yml
From what I read here, this was a change in version 3.3.3 of Helm (back in September) based on a Security Audit by the CNCF. They seem fairly adamant that they will not offer a way to suppress it.
Since this file come from the /etc/octopus/Work folder, I am guessing it is created by Octopus Deploy when my Deployment Target uses the token account I setup for it.
Is there a way I can get this file setup with the right permissions so that it will not give a warning when I run a Helm chart?