1. 23 Oct, 2018 3 commits
    • Thong Kuah's avatar
      EE: Remove where we pass api_groups to KubeClient · bc53492b
      Thong Kuah authored
      KubeClient no longer needs the list of api_groups to be passed in - all
      groups will be supported.
      
      As the default for `#get_deployments` will be `v1beta1` (see
      KubeClient#extensions_client), we can rely entirely on #kubeclient
      instead of calling #build_kube_client!
      bc53492b
    • Thong Kuah's avatar
      Update all usages of KubeClient · d12ed308
      Thong Kuah authored
      Find and replace everywhere we pass in `api_groups` to KubeClient, as no
      longer needed
      d12ed308
    • Thong Kuah's avatar
      Remove api_groups from KubeClient constructor · 7e0cfd95
      Thong Kuah authored
      We should have access to #core_client, #rbac_client,
      and #extensions_client without having to pass in an awkward array.
      
      Also change api_version to default_api_version, which allows us to use a
      different version for an individual client. Special case for
      apis/extensions which only goes up to v1beta1.
      
      Makes #hashed_client private
      
      Removes the #clients and #discover! methods which are un-used
      7e0cfd95
  2. 22 Oct, 2018 37 commits