The Kubernetes PKI directories should be owned by root

Set up the kubernetes integration.

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

Ensure that the Kubernetes PKI directories and subsequent certificate files are owned by root:root. Kubernetes makes use of a number of certificates as part of its operation. You should set the ownership of the directory containing the PKI information and all files in that directory to maintain their integrity.

Remediation

  1. Run the following command to adjust the file ownership:
    chown -R root:root /etc/kubernetes/pki/