Skip to content
Snippets Groups Projects
  1. Feb 25, 2020
  2. Feb 11, 2020
  3. Feb 10, 2020
  4. Dec 16, 2019
  5. Dec 13, 2019
  6. Dec 12, 2019
  7. Dec 10, 2019
  8. Dec 04, 2019
  9. Nov 26, 2019
  10. Nov 19, 2019
  11. Nov 18, 2019
  12. Nov 13, 2019
  13. Oct 29, 2019
  14. Oct 26, 2019
  15. Oct 24, 2019
  16. Oct 22, 2019
  17. Oct 16, 2019
  18. Oct 14, 2019
  19. Sep 24, 2019
  20. Sep 23, 2019
  21. Sep 20, 2019
  22. Sep 18, 2019
  23. Sep 17, 2019
  24. Sep 13, 2019
  25. Sep 06, 2019
    • Alishan Ladhani's avatar
      Enable Knative installation on group and instance level clusters · 88904b2a
      Alishan Ladhani authored
      - Show Knative install button on group/instance cluster pages
      - Allow Knative to be installed on group/instance clusters
      - Add feature specs for installing applications on group/instance
        clusters
      - Add changelog entry
      - Update docs to reflect that Knative can now be installed on
        group-level and instance-level clusters
      88904b2a
  26. Sep 04, 2019
  27. Aug 31, 2019
  28. Aug 07, 2019
    • Tiger Watson's avatar
      Use separate Kubernetes namespaces per environment · 36a01a88
      Tiger Watson authored and Thong Kuah's avatar Thong Kuah committed
      Kubernetes deployments on new clusters will now have
      a separate namespace per project environment, instead
      of sharing a single namespace for the project.
      
      Behaviour of existing clusters is unchanged.
      
      All new functionality is controlled by the
      :kubernetes_namespace_per_environment feature flag,
      which is safe to enable/disable at any time.
      36a01a88
  29. Jul 31, 2019
  30. Jun 17, 2019
    • Tiger Watson's avatar
      Don't use Kubernetes namespaces with no token · ddd271b6
      Tiger Watson authored
      Whenever we are selecting a namespace to use for a
      deployment or to query a cluster we want to exclude
      Kubernetes namespace records that don't have a token
      set as they will not have the required permissions.
      However when configuring clusters, we want to
      use the original namespace record even if it has no
      token, as a namespace has to be unique on a cluster.
      ddd271b6
  31. Jun 07, 2019
  32. May 30, 2019
  33. May 29, 2019
    • João Cunha's avatar
      Adapt functions to work for external Knative · a2aa160c
      João Cunha authored
      Remove Kn services cache from Clusters::Application::Knative
      
      Knative function can exist even if user did not installed Knative via
      GitLab managed apps.
      
      -> Move responsibility of finding services into the Cluster
      -> Responsability is inside Clusters::Cluster::KnativeServiceFinder
      -> Projects::Serverless::FunctionsFinder now calls depends solely on a
      cluster to find the Kn services.
      -> Detect Knative by resource presence instead of service presence
      -> Mock knative_installed response temporarily for frontend to develop
      
      Display loader while `installed === 'checking'`
      
      Added frontend work to determine if Knative is installed
      
      Memoize with_reactive_cache(*args, &block) to avoid race conditions
      
      When calling with_reactive_cache more than once, it's possible that the
      second call will already have the value populated. Therefore, in cases
      where we need the sequential calls to have consistent results, we'd fall
      under a race condition.
      
      Check knative installation via Knative resource presence
      
      Only load pods if Knative is discovered
      
      Always return a response in FunctionsController#index
      
      - Always indicate if Knative is installed, not installed or checking
      - Always indicate the partial response for functions. Final response is
      guaranteed when knative_installed is either true | false.
      
      Adds specs for Clusters::Cluster#knative_services_finder
      
      Fix method name when calling on specs
      
      Add an explicit check for functions
      
      Added an explicit check to see if there are any functions available
      
      Fix Serverless feature spec
      
      - we don't find knative installation via database anymore,
      rather via Knative resource
      
      Display error message for request timeouts
      
      Display an error message if the request times out
      
      Adds feature specs for when functions exist
      
      Remove a test purposed hardcoded flag
      
      Add ability to partially load functions
      
      Added the ability to partially load functions on the frontend
      
      Add frontend unit tests
      
      Added tests for the new frontend additions
      
      Generate new translations
      
      Generated new frontend translations
      
      Address review comments
      
      Cleaned up the frontend unit test.
      Added computed prop for `isInstalled`.
      
      Move string to constant
      
      Simplify nil to array conversion
      
      Put knative_installed states in a frozen hash for better read
      
      Pluralize list of Knative states
      
      Quey services and pods filtering name
      
      This way we don't need to filter the namespace in memory.
      Also, the data we get from the network is much smaller.
      
      Simplify cache_key and fix bug
      
      - Simplifies the cache_key by removing namespace duplicate
      - Fixes a bug with reactive_cache memoization
      a2aa160c
  34. May 27, 2019
  35. May 24, 2019
  36. May 21, 2019
    • Tiger Watson's avatar
      Remove legacy Kubernetes #actual_namespace · 101c4480
      Tiger Watson authored
      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
  37. May 06, 2019
Loading