Merge pull request #25498 from adambkaplan/ssh-auth-secret-caution

Caution Note for ssh-auth Secrets
This commit is contained in:
Kubernetes Prow Robot
2020-12-16 13:50:31 -08:00
committed by GitHub
@@ -271,6 +271,13 @@ However, using the builtin Secret type helps unify the formats of your credentia
and the API server does verify if the required keys are provided in a Secret
configuration.
{{< caution >}}
SSH private keys do not establish trusted communication between an SSH client and
host server on their own. A secondary means of establishing trust is needed to
mitigate "man in the middle" attacks, such as a `known_hosts` file added to a
ConfigMap.
{{< /caution >}}
### TLS secrets
Kubernetes provides a builtin Secret type `kubernetes.io/tls` for to storing