Skip to content

Change permissions on ./kube/config file created #396

@WinstonKamau

Description

@WinstonKamau

While running prepare-kubectl on Circle CI I got the following warning.

WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config

We could a step to limit the file permissions after creating this file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpinnedPrevents stalebot from removing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions