mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Fix service-account-issuer
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
parent
4fbc241679
commit
601c4984f5
@ -171,8 +171,8 @@ func apiServer(ctx context.Context, cfg *config.Control, runtime *config.Control
|
||||
argsMap["tls-cert-file"] = runtime.ServingKubeAPICert
|
||||
argsMap["tls-private-key-file"] = runtime.ServingKubeAPIKey
|
||||
argsMap["service-account-key-file"] = runtime.ServiceKey
|
||||
argsMap["service-account-issuer"] = version.Program
|
||||
argsMap["api-audiences"] = "unknown"
|
||||
argsMap["service-account-issuer"] = "https://kubernetes.default.svc.cluster.local"
|
||||
argsMap["api-audiences"] = "https://kubernetes.default.svc.cluster.local," + version.Program
|
||||
argsMap["kubelet-certificate-authority"] = runtime.ServerCA
|
||||
argsMap["kubelet-client-certificate"] = runtime.ClientKubeAPICert
|
||||
argsMap["kubelet-client-key"] = runtime.ClientKubeAPIKey
|
||||
|
Loading…
Reference in New Issue
Block a user