Skip to content

Commit

Permalink
Switch apiserver certificate to system:masters org
Browse files Browse the repository at this point in the history
* A kubernetes apiserver should be authorized to make requests
to kubelets using an admin role associated with system:masters
* Kubelet defaults to AlwaysAllow so an apiserver that presented
a valid certificate had all access to the Kubelet. With Webhook
authorization, we're making that admin access explicit
* Its important the apiserver be able to perform or proxy to
kubelets for kubectl log, exec, port-forward, etc.
* poseidon/typhoon#215
  • Loading branch information
dghubble committed May 14, 2018
1 parent 305c813 commit 28f68db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls-k8s.tf
Expand Up @@ -62,7 +62,7 @@ resource "tls_cert_request" "apiserver" {

subject {
common_name = "kube-apiserver"
organization = "kube-master"
organization = "system:masters"
}

dns_names = [
Expand Down

0 comments on commit 28f68db

Please sign in to comment.