This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 18 Nov, 2021 6 commits
  2. 17 Nov, 2021 14 commits
  3. 16 Nov, 2021 12 commits
  4. 15 Nov, 2021 7 commits
    • Michelle Nguyen's avatar
      Update vizier service names to not conflict with deployment names · 20fa0e34
      Michelle Nguyen authored
      
      Summary:
      there are cases where users may want to patch all of their deployments (for example, apply nodeselectors to all deployments). this currently does not work since the svc names match the exact resource names of the deployments themselves. since we do patches by matching resource names, this leads to invalid YAMLs.
      instead, we should rename our services so that each resource can be patched
      
      Test Plan: built vizier rc, deployed with patches
      
      Reviewers: vihang
      
      Reviewed By: vihang
      Signed-off-by: default avatarMichelle Nguyen <michellenguyen@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10182
      
      GitOrigin-RevId: 464cdaab236285ee8b92886b52622f834666c2ed
      20fa0e34
    • Michelle Nguyen's avatar
      Add tableStoreTableSizeLimit to vizier CRD · e1cc5c3f
      Michelle Nguyen authored
      
      Summary: We also want to make the table store's table size limit configurable via the CRD. this diff adds the field to the CRD. a followup diff will make sure that this is wired into the vizier tmpl pipeline.
      
      Test Plan: n/a
      
      Reviewers: jamesbartlett, vihang, rcheng
      
      Reviewed By: vihang
      Signed-off-by: default avatarMichelle Nguyen <michellenguyen@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10179
      
      GitOrigin-RevId: d8a85e888ddc63bd7b01b404b168449128b761ae
      e1cc5c3f
    • Phillip Kuznetsov's avatar
      Allow users to login who lack an org · 3c1ecf3b
      Phillip Kuznetsov authored
      
      Summary:
      Users who would tried to call GetAugmentedToken but lacked an org would receive an error. This call is made as part of the GRPC middleware in the api_server. We will need to call GetUser/ GetOrg() from the UI in these cases so probably just allow users to login without an org.
      
      This diff is part of a series to enable user/password signup flows. We will need to allow users to exist in the database without an OrgID and make sure that the data is accessible to users.
      
      Risk - we are creating a new opening for users to log in without an org ID. We might provide more access than we intend. However, most features are org-gated anyways - meaning we restrict info so that only the org members can view clusters, org members, so those risks will be limited.
      
      Test Plan: Updated the test. No chance to do an integration because we don't support orgless users yet.
      
      Reviewers: vihang, michelle, nserrino
      
      Reviewed By: vihang
      Signed-off-by: default avatarPhillip Kuznetsov <pkuznetsov@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10184
      
      GitOrigin-RevId: b199c233d18d840e224b567a9c21cccaa971a0dc
      3c1ecf3b
    • Vihang Mehta's avatar
      Allow users to be created without an associated org · fa09652f
      Vihang Mehta authored
      
      Summary:
      For the Username/Password based auth, user creation and org creation
      are going to be split out and users will be created first without any associated
      orgs.
      
      Test Plan: Added tests
      
      Reviewers: michelle, philkuz
      
      Reviewed By: philkuz
      
      JIRA Issues: PC-1259
      Signed-off-by: default avatarVihang Mehta <vihang@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10183
      
      GitOrigin-RevId: f90a68da2e19a4e00e048cbedc61d5f02b7e1224
      fa09652f
    • Phillip Kuznetsov's avatar
      Cleanup userID variable and fix-up login tests · 485fa519
      Phillip Kuznetsov authored
      
      Summary: We pass around this userID variable in login.go, but this has been available in UserInfo struct for quite a while now as the same value. To reduce confusion, we now just use the userInfo.AuthProviderID value in place of the userID. Evidence this was confusing shows up in the tests as well -we would use the PL User ID and authProviderID interchangably. This fixes that issue in the test.
      
      Test Plan: Tests still pass, can still login with skaffold
      
      Reviewers: vihang, michelle
      
      Reviewed By: vihang
      Signed-off-by: default avatarPhillip Kuznetsov <pkuznetsov@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10154
      
      GitOrigin-RevId: 05e2e3ad7e5514b4a3271efa47cde8f6c9ca4f60
      485fa519
    • Vihang Mehta's avatar
      Deprecate ProfileService within cloudapi · 1e919663
      Vihang Mehta authored
      
      Summary: We mainly use `UserService` and `OrgService`. This is redundant.
      
      Test Plan: Existing tests
      
      Reviewers: michelle, zasgar
      
      Reviewed By: zasgar
      Signed-off-by: default avatarVihang Mehta <vihang@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10174
      
      GitOrigin-RevId: 6b701aee0a68d8c388c535cdef904d900c2a249e
      1e919663
    • Vihang Mehta's avatar
      Add CreateOrg to profile service · 1123bc4c
      Vihang Mehta authored
      
      Summary:
      TSIA, this should help split up our `CreateUserAndOrg` methods and
      also will be useful for the create org flows later.
      
      Test Plan: Added tests.
      
      Reviewers: michelle, philkuz
      
      Reviewed By: michelle, philkuz
      
      JIRA Issues: PC-1258
      Signed-off-by: default avatarVihang Mehta <vihang@pixielabs.ai>
      
      Differential Revision: https://phab.corp.pixielabs.ai/D10178
      
      GitOrigin-RevId: 0888d7120759bdc4f9f5c9671b872e3020a16da6
      1123bc4c
  5. 14 Nov, 2021 1 commit