Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

  • Thong Kuah's avatar
    Create k8s namespace for project in group clusters · afce416eb849
    Thong Kuah authored
    AFAIK the only relevant place is Projects::CreateService, this gets
    called when user creates a new project, forks a new project and does
    those things via the api.
    
    Also create k8s namespace for new group hierarchy
    when transferring project between groups
    
    Uses new Refresh service to create k8s namespaces
    
    - Ensure we use Cluster#cluster_project
    
    If a project has multiple clusters (EE), using Project#cluster_project
    is not guaranteed to return the cluster_project for this cluster. So
    switch to using Cluster#cluster_project - at this stage a cluster can
    only have 1 cluster_project.
    
    Also, remove rescue so that sidekiq can retry
    afce416eb849
project.rb 62.1 KB