• Kubernetes Submit Queue's avatar
    Merge pull request #40922 from berrange/hack-client-cert · 1250278b
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    local-up-cluster: fix instructions for set-credentials
    
    After launching the services, local-up-cluster.sh tells the
    user how to configure kubectl to access it. The instructions
    for 'set-credentials' enable plain password auth, but the
    services are configured to mandate client certificate auth.
    As a result it is not possible to access the cluster with
    the instructions printed.
    
    The use of client certs by default was added in
    
      commit a1b17db4
      Author: Dr. Stefan Schimanski <sttts@redhat.com>
      Date:   Sat Nov 12 23:09:04 2016 +0100
    
        Configure client certs in local-cluster-up.sh
    
    and the instructions were correctly updated to refer to
    client certificates.
    
    The changed instructions were (mistakenly) reverted though
    when the following commit was merged:
    
      commit 72e0e91b
      Author: xilabao <chenr.fnst@cn.fujitsu.com>
      Date:   Fri Dec 2 11:04:25 2016 +0800
    
        change prompt for enabling RBAC on local-up-cluster
    
    Fixes: #40192
    Signed-off-by: 's avatarDaniel P. Berrange <berrange@redhat.com>
    1250278b
local-up-cluster.sh 28.3 KB