• 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
..
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-discovery Loading commit data...
kube-dns Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
kubernetes-discovery Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
OWNERS Loading commit data...