• Kubernetes Submit Queue's avatar
    Merge pull request #32203 from dgoodwin/kubediscovery · 18340399
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Alpha JWS Discovery API for locating an apiserver securely
    
    This PR contains an early alpha prototype of the JWS discovery API outlined in proposal #30707.
    
    CA certificate, API endpoints, and the token to be used to authenticate to this discovery API are currently passed in as secrets. If the caller provides a valid token ID, a JWS signed blob of ClusterInfo containing the API endpoints and the CA cert to use will be returned to the caller. This is used by the alpha kubeadm to allow seamless, very quick cluster setup with simple commands well suited for copy paste.
    
    Current TODO list:
    
    - [x] Allow the use of arbitrary strings as token ID/token, we're currently treating them as raw keys.
    - [x] Integrate the building of the pod container, move to cluster/images/kube-discovery.
      - [x] Build for: amd64, arm, arm64 and ppc64le. (just replace GOARCH=)
      - [x] Rename to gcr.io/google_containers/kube-discovery-ARCH:1.0
      - [x] Cleanup rogue files in discovery sub-dir.
      - [x] Move pkg/discovery/ to cmd/discovery/app.
    
    There is additional pending work to return a kubeconfig rather than ClusterInfo, however I believe this is slated for post-alpha.
    18340399
Name
Last commit
Last update
..
addons Loading commit data...
aws Loading commit data...
azure Loading commit data...
azure-legacy Loading commit data...
centos Loading commit data...
gce Loading commit data...
gke Loading commit data...
images Loading commit data...
juju Loading commit data...
kubemark Loading commit data...
lib Loading commit data...
libvirt-coreos Loading commit data...
local Loading commit data...
mesos/docker Loading commit data...
openstack-heat Loading commit data...
ovirt Loading commit data...
photon-controller Loading commit data...
rackspace Loading commit data...
saltbase Loading commit data...
skeleton Loading commit data...
ubuntu Loading commit data...
vagrant Loading commit data...
vsphere Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
common.sh Loading commit data...
get-kube-local.sh Loading commit data...
get-kube.sh Loading commit data...
kube-down.sh Loading commit data...
kube-push.sh Loading commit data...
kube-up.sh Loading commit data...
kube-util.sh Loading commit data...
kubectl.sh Loading commit data...
log-dump.sh Loading commit data...
options.md Loading commit data...
test-e2e.sh Loading commit data...
test-network.sh Loading commit data...
test-smoke.sh Loading commit data...
update-storage-objects.sh Loading commit data...
validate-cluster.sh Loading commit data...