• Thong Kuah's avatar
    Create CTE query for clusters hierarchy · 8b3cf043
    Thong Kuah authored
    - This enables us to use a scope to query all clusters in group
    hierarchy order in one query, and also enables us to union to instance
    clusters later.
    
    - Handle case where clusters not present at level. In which case the
    query should go ahead and return the next level's clusters.
    
    - Swap with new CTE query behind Feature flag. This FF is default
    disabled.
    8b3cf043
deployment_platform_spec.rb 3.01 KB