Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
secure communciation from kubernetes API to kubelet API endpoint (#1978)
Browse files Browse the repository at this point in the history
* secure communciation from kubernetes API to kubelet API endpoint

* gofmt lint
  • Loading branch information
pidah authored and jackfrancis committed Jan 2, 2018
1 parent 9c9507c commit 1ab1e49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parts/k8s/manifests/kubernetesmaster-kube-apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ spec:
- "--proxy-client-cert-file=/etc/kubernetes/certs/proxy.crt"
- "--proxy-client-key-file=/etc/kubernetes/certs/proxy.key"
- "--service-account-key-file=/etc/kubernetes/certs/apiserver.key"
- "--kubelet-client-certificate=/etc/kubernetes/certs/client.crt"
- "--kubelet-client-key=/etc/kubernetes/certs/client.key"
- "--oidc-client-id="
- "--oidc-issuer-url="
- "--oidc-username-claim=oid"
Expand Down
3 changes: 3 additions & 0 deletions pkg/acsengine/defaults-kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ func setKubeletConfig(cs *api.ContainerService) {
staticLinuxKubeletConfig := map[string]string{
"--address": "0.0.0.0",
"--allow-privileged": "true",
"--anonymous-auth": "false",
"--authorization-mode": "Webhook",
"--client-ca-file": "/etc/kubernetes/certs/ca.crt",
"--pod-manifest-path": "/etc/kubernetes/manifests",
"--cloud-config": "/etc/kubernetes/azure.json",
"--cluster-domain": "cluster.local",
Expand Down

0 comments on commit 1ab1e49

Please sign in to comment.