Commit Graph
83 Commits
Author SHA1 Message Date
Dhruv JainandGitHub ca4e2c6131 refactor: remove unused func/var/methods (#315)
Signed-off-by: Dhruv Jain <92215138+jaydee029@users.noreply.github.com>
2024-04-25 12:16:15 +05:30
Nirav ParikhandGitHub 0cd2a35ab5 expose cluster status update rpc (#296)
* expose cluster status update rpc

Signed-off-by: Nirav Parikh <nir.parikh05@gmail.com>

* added cluster rpc to relay peering rpc server listener

Signed-off-by: Nirav Parikh <nir.parikh05@gmail.com>

---------

Signed-off-by: Nirav Parikh <nir.parikh05@gmail.com>
2024-02-28 10:41:10 +05:30
Nirav ParikhandGitHub 1b7a9a1fa3 changes to view auditlogs by project role users (#247)
feat: changes to view audit logs by project and cluster role users
---------

Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-09-21 11:34:56 +05:30
Nirav ParikhandGitHub ac9a2b73e6 fix for org admins to view secrets with org restrictions (#242)
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-08-10 17:14:12 +05:30
Nirav ParikhandGitHub f5e2e7739d fix: generate fixtures for download.yaml (#236)
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-07-04 12:36:44 +05:30
Nirav ParikhandGitHub 749dcb46d4 fix: change relays annotation of Cluster to paralus.dev/relays (#227)
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-06-26 12:41:02 +05:30
Alan ClucasandGitHub ae206f07d2 chore: Remove misleading helm labels (#221)
* chore: Remove misleading helm labels

The downloaded yaml for relay clients contains misleading labelling
and annotations, remove them

Signed-off-by: Alan Clucas <alan@clucas.org>

* fix: Set managed-by: paralus for all objects

Signed-off-by: Alan Clucas <alan@clucas.org>

* chore: go generate

Signed-off-by: Alan Clucas <alan@clucas.org>

---------

Signed-off-by: Alan Clucas <alan@clucas.org>
2023-05-25 11:03:32 +05:30
Akshay GaikwadandGitHub c4ac043b5e feat: Support more than one IdP groups mapping (#172)
Allow mapping more than one IdP groups to an OIdC identity. This
commit upgrades the kratos version (v0.11.0). Kratos v0.11.0 parses
all id token claims into `raw_claims`. The `raw_claims` can be used in
JsonNet mapper to map non-standard claims like `groups` to identity
traits.

Fixes #109

This also includes:
* Remove verbose bug debug logs
* Removes elasticsearch service from docker compose file

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2023-03-30 12:43:57 +05:30
Nirav ParikhandGitHub c645d2398d fix: multiple bootstrap requests using same cluster bootstrap yaml
multiple bootstrap requests and separated the fingerprint mismatch error which binds a target cluster with bootstrap yaml

Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-03-30 12:30:12 +05:30
Akshay GaikwadandGitHub ffb78940e2 fix: cluster description ignored by server issue (#187)
Server was ignoring cluster description of a request. This commit is
persisting cluster description to db.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2023-03-30 12:26:26 +05:30
Abhijit MukherjeeandGitHub 0971def3b3 Feature: Add the ability to configure the SA account lifetime (#139)
added ability to conifigure SA account lifetime with validation

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
2023-02-17 15:07:55 +05:30
Akshay GaikwadandGitHub 1f64d80729 Auto-generate password and force reset (#124)
* Upgrade kratos service to v0.10.1

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Upgrade kratos-client-go to v0.10.1

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* generate password feature for kratos admin creation

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Add forceReset property in user spec

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* added forcereset in the init script

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>

* Resolve conflicts

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Stdout default admin password in initialize script

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* setting password for new user and sending default password in create user response

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>

* added new endpoint to service force reset flag update after resetting complete outside authz

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>

* removed unnecessary overhead in the forcereset endpoint and updated user type proto to remove unused fields

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
2023-01-27 18:32:11 +05:30
Abhijit MukherjeeandGitHub d7d57cb2d0 Fix modify userinfo service to include scope in response (#108)
Fix modify userinfo service to include scope in response
2022-12-05 15:33:16 +05:30
Nirav Parikh d8f449a98e added order by time desc for auditlogs 2022-11-24 12:38:55 +05:30
Nirav Parikh 2c1d053396 updated query to use time column instead of timestamp from data 2022-11-23 14:11:30 +05:30
Nirav Parikh 319f778e7e added test cases 2022-11-22 19:01:26 +05:30
Nirav Parikh 6465afed9b initial commit for changes to support database as backend for audit logs 2022-11-16 19:05:38 +05:30
Akshay Gaikwad bde018a3c7 Use max select query for user last access time 2022-11-03 18:16:22 +05:30
Akshay Gaikwad 8f8bac25ea Add last login time in user API 2022-11-01 15:57:37 +05:30
Nirav Parikh f0952a37d8 Fixed creating project scoped role failed from cli 2022-10-11 14:49:56 +05:30
Nirav Parikh 17177978c4 generated fixtures for bootstrap arm64 2022-10-06 13:00:13 +05:30
Nirav Parikh 0ea54255de changes to cluster lister, group creation date and default relay version 2022-09-27 20:06:47 +05:30
Sandeep KongathiandGitHub 0b9a1a84be Update Arch. with arm64
For nodeAffinity, additional arch. Option arm64 is added
2022-09-22 14:44:53 +05:30
Abin Simon 2f069f2d72 Add tests for namespaces 2022-06-17 13:19:25 +05:30
Nirav Parikh 9107f6e1b5 changes to fix project updates for namespaces 2022-06-14 20:15:46 +05:30
Akshay Gaikwad b3f2862228 Update busybox image in yaml 2022-06-14 11:56:12 +05:30
Akshay Gaikwad f8f20535d1 Update images to dockerhub registry 2022-06-13 10:56:09 +05:30
Akshay Gaikwad a31af67fe7 Generate Go code of agent templates 2022-06-09 16:29:21 +05:30
Akshay Gaikwad 664beb4383 Replace rafay with paralus 2022-06-09 13:42:27 +05:30
Akshay Gaikwad 0ee494cc97 Rename rcloud, Rafay references 2022-06-08 18:41:32 +05:30
Akshay Gaikwad b67fcacf87 Rename go module name and its usage 2022-06-08 17:21:22 +05:30
niravparikh05 f8be2a671c fixes for sso users listing, sso users kubectl issue, removed commented code 2022-06-02 11:31:18 +05:30
niravparikh05 0210f0f2d3 renamed column namespace_id to namespace 2022-05-27 12:23:22 +05:30
niravparikh05 8ab85e57c9 changes to support namespaces 2022-05-23 12:42:51 +05:30
Abin Simon bdc1052662 Cleanup some TODO items 2022-05-20 11:27:29 +05:30
Abin Simon aabf2e600e Fix group filter for users
The following could be used as an optimisation when we are filtering
just by user, but decided to omit as of now.

```
usrs, err = dao.ListFilteredUsersWithGroup(ctx, s.db,
    []uuid.UUID{}, groupId, queryOptions.Q, queryOptions.Type,
    queryOptions.OrderBy, queryOptions.Order,
    int(queryOptions.Limit), int(queryOptions.Offset))
```
2022-05-20 10:29:35 +05:30
Abin Simon a6a3e20738 Fix user listing 2022-05-18 15:13:54 +05:30
Nirav ParikhandGitHub 0d828f1272 Merge pull request #134 from RafayLabs/idp-groups-and-updating-same
Add IdP groups in Identities table
2022-05-17 19:09:43 +05:30
Abin Simon 5c68a33537 Prevent combining idp and managed groups 2022-05-13 16:24:58 +05:30
Akshay Gaikwad f604768865 [OIdC Provider] Return client secret on GET requests
- Returns client secret on GET request, so that when UI made
modification to OIdC provider, it should be able to send back the
client secret to PUT request.
- Fix issuer url validation when udpate.
2022-05-12 19:15:10 +05:30
Akshay Gaikwad eb0b7d3ef2 Provision to create new oidc provider with same name that of deleted
When we soft delete oidc provider entry which we are doing for delete
provider API endpoint, we cannot create new oidc provider entry with a
same name due to unique constraint violation on name. Applying unique
constraint to name,trash will allow to create new oidc provider entry
with a same name, but fail on deleting that entry because it violates
unique constraint. Hence this commit adds unique constraint
to (id,name) combined.
2022-05-06 11:31:48 +05:30
niravparikh05 e9b9b2b7f4 fixes for oidc config and groups list 2022-04-27 21:39:24 +05:30
niravparikh05 33f3d9337b test case to be fixed 2022-04-26 21:31:13 +05:30
niravparikh05 101c005312 fixes for permissions and user group assoc 2022-04-26 19:56:36 +05:30
Abin Simon 3a87a77dca Add trash column to BootstrapAgentTemplate 2022-04-26 15:29:05 +05:30
Abin Simon a68277e295 Fix fetching user in sentry
Previously we were getting the user with quotes around it which caused issues.
2022-04-26 13:28:36 +05:30
niravparikh05 db7be6e26e changes to support prompt 2022-04-25 17:24:08 +05:30
niravparikh05 8883703328 changes to expose system and user grpc clients for prompt 2022-04-15 15:05:17 +05:30
niravparikh05 c99c1c5a7e reverting changes for isGlobal in role resource 2022-04-14 18:36:55 +05:30
Nirav ParikhandGitHub a9e72810a5 Merge pull request #104 from RafayLabs/issue_fixes
issue fixes for cluster delete and adding bootstrap addr to agent config
2022-04-14 17:08:22 +05:30