title: can Kubectl remember me?
body: <p>I have implemented basic authentication on my kubernetes api-server, now I am trying to configure my <code>./kube/config</code> file in a way I could simply run, <code>kubectl get pods</code></p>
  
  <pre><code> kubectl config set-cluster digitalocean \
                        --server=https://SERVER:6443 \
                        --insecure-skip-tls-verify=true \
                        --api-version="v1" 
   kubectl config set-context digitalocean --cluster=digitalocean --user=admin
   kubectl config set-credentials admin --password="PASSWORD" 
   kubectl config use-context digitalocean
  </code></pre>
  
  <p>But now, it asks for credentials twice like :</p>
  
  <pre><code>dev@desktop: ~/code/go/src/bitbucket.org/cescoferraro                                                                   
  $ kubectl get pods                                                                                                      
  Please enter Username: admin                                                                                             
  enter Password: PASSWORD
  Please enter Username: admin                                                                                            
  Please enter Password: PASSWORD                                                                                      
  NAME                                                READY     STATUS    RESTARTS   AGE 
  </code></pre>
  
  <p>or I need to pass the flags like</p>
  
  <pre><code>kubectl get pods --username=admin --password=PASSWORD
  </code></pre>
  
  <p>is this the default behavior? I want my config to know me. What can I do?</p>