1. 11 7月, 2019 1 次提交
    • D
      Refactor: model errors for multi cluster validation · dacd0ee1
      Dylan Griffith 提交于
      The current approach requires catching exceptions to handle these errors
      and callers are already handling model validations so it seems more
      appropriate.  Also it seemed to convoluted to add this logic directly to
      the model since the model needs to check too many possible associations
      to determine whether or not there are more than one cluster since the
      model doesn't know what it's being created on. Additionally we only
      wanted to validate during create to avoid the risk of existing models
      becoming invalid by many different edge cases.
      dacd0ee1
  2. 02 7月, 2019 1 次提交
  3. 22 5月, 2019 1 次提交
    • T
      Remove legacy Kubernetes #actual_namespace · 101c4480
      Tiger 提交于
      When Kubernetes clusters were originally built they could only
      exist at the project level, and so there was logic included
      that assumed there would only ever be a single Kubernetes
      namespace per cluster. We now support clusters at the group
      and instance level, which allows multiple namespaces.
      
      This change consolidates various project-specific fallbacks to
      generate namespaces, and hands all responsibility to the
      Clusters::KubernetesNamespace model. There is now no concept of
      a single namespace for a Clusters::Platforms::Kubernetes; to
      retrieve a namespace a project must now be supplied in all cases.
      
      This simplifies upcoming work to use a separate Kubernetes
      namespace per project environment (instead of a namespace
      per project).
      101c4480
  4. 03 5月, 2019 1 次提交
  5. 05 4月, 2019 1 次提交
  6. 02 4月, 2019 1 次提交
  7. 20 3月, 2019 1 次提交
  8. 11 1月, 2019 1 次提交
  9. 05 1月, 2019 1 次提交