Fix service-account-issuer

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
Brad Davidson 2021-04-14 12:42:21 -07:00 committed by Brad Davidson
parent 4fbc241679
commit 601c4984f5

View File

@ -171,8 +171,8 @@ func apiServer(ctx context.Context, cfg *config.Control, runtime *config.Control
argsMap["tls-cert-file"] = runtime.ServingKubeAPICert argsMap["tls-cert-file"] = runtime.ServingKubeAPICert
argsMap["tls-private-key-file"] = runtime.ServingKubeAPIKey argsMap["tls-private-key-file"] = runtime.ServingKubeAPIKey
argsMap["service-account-key-file"] = runtime.ServiceKey argsMap["service-account-key-file"] = runtime.ServiceKey
argsMap["service-account-issuer"] = version.Program argsMap["service-account-issuer"] = "https://kubernetes.default.svc.cluster.local"
argsMap["api-audiences"] = "unknown" argsMap["api-audiences"] = "https://kubernetes.default.svc.cluster.local," + version.Program
argsMap["kubelet-certificate-authority"] = runtime.ServerCA argsMap["kubelet-certificate-authority"] = runtime.ServerCA
argsMap["kubelet-client-certificate"] = runtime.ClientKubeAPICert argsMap["kubelet-client-certificate"] = runtime.ClientKubeAPICert
argsMap["kubelet-client-key"] = runtime.ClientKubeAPIKey argsMap["kubelet-client-key"] = runtime.ClientKubeAPIKey