File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ $ kubectl exec test-701078429-s5kca -- curl --cacert /var/run/secrets/kubernetes
136
136
137
137
If it is not working, there are two possible reasons:
138
138
139
- 1 . The contents of the tokens is invalid. Find the secret name with ` kubectl get secrets | grep service-account ` and
139
+ 1 . The contents of the tokens are invalid. Find the secret name with ` kubectl get secrets | grep service-account ` and
140
140
delete it with ` kubectl delete secret <name> ` . It will automatically be recreated.
141
141
142
142
2 . You have a non-standard Kubernetes installation and the file containing the token
@@ -153,7 +153,7 @@ More information:
153
153
* [ User Guide: Service Accounts] ( http://kubernetes.io/docs/user-guide/service-accounts/ )
154
154
* [ Cluster Administrator Guide: Managing Service Accounts] ( http://kubernetes.io/docs/admin/service-accounts-admin/ )
155
155
156
- ## kubeconfig
156
+ ## Kubeconfig
157
157
If you want to use a kubeconfig file for authentication, create a deployment file similar to the one below:
158
158
159
159
* Note:* the important part is the flag ` --kubeconfig=/etc/kubernetes/kubeconfig.yaml ` .
@@ -294,4 +294,4 @@ spec:
294
294
- name: "kubeconfig"
295
295
hostPath:
296
296
path: "/etc/kubernetes/"
297
- ```
297
+ ```
You can’t perform that action at this time.
0 commit comments