Remove forward slashes from paths. (#323)

This commit is contained in:
Brendan Burns
2019-12-19 16:45:32 -08:00
committed by Kubernetes Prow Robot
parent f67aaec566
commit 06380095b4

View File

@@ -6,7 +6,10 @@ namespace k8s
{
public partial class KubernetesClientConfiguration
{
private const string ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount/";
private static string ServiceAccountPath =
Path.Combine(new string[] {
"var", "run", "secrets", "kubernetes.io", "serviceaccount/"
});
private const string ServiceAccountTokenKeyFileName = "token";
private const string ServiceAccountRootCAKeyFileName = "ca.crt";