Mykhailo Kuznietsov
97f3c3cb4a
chore: Release version 7.86.0
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-05-17 10:28:42 +00:00
Mykhailo Kuznietsov
219d8bc1f2
chore: Bump to 7.86.1-SNAPSHOT in 7.86.x
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-05-17 10:22:17 +00:00
che-bot
b5f110c659
chore: Bump to 7.86.0-SNAPSHOT in main ( #680 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-04-26 08:16:38 +03:00
che-bot
7c07c3c135
chore: Bump to 7.85.0-SNAPSHOT in main ( #675 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-04-09 15:52:32 +03:00
Igor Vinokur
2e27c47f2f
Add provider name annotation to PAT secret ( #670 )
...
Add che.eclipse.org/scm-provider-name annotation to Personal Access Token secret.
2024-03-25 14:57:27 +02:00
ivinokur
b8e0397b0a
Update io.fabric8.kubernetes-client to 6.10.0
2024-03-22 18:13:04 +01:00
che-bot
661d852250
chore: Bump to 7.84.0-SNAPSHOT in main ( #669 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-03-19 08:51:13 +02:00
Anatolii Bazko
7dc7a61511
chore: Remote workspace-stop roles ( #659 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2024-03-05 12:38:09 +01:00
che-bot
60262e3a72
chore: Bump to 7.83.0-SNAPSHOT in main ( #658 )
2024-02-28 09:18:10 +02:00
Igor Vinokur
3fef2347f0
Remove the DB related modules ( #630 )
2024-02-27 15:27:58 +02:00
Igor Vinokur
aebdc3a04d
Add debug logs to KubernetesPersonalAccessTokenManager class ( #656 )
2024-02-21 20:24:27 +02:00
Igor Vinokur
a691074548
Add debug logs to KubernetesPersonalAccessTokenManager class ( #655 )
2024-02-20 18:07:04 +02:00
Igor Vinokur
4f8a84cb1d
Fetch oauth tokens from kubernetes secrets ( #652 )
...
Move AuthorisationRequestManager interface towsmaster/che-core-api-factory module in order to avoid circular dependency.
Rework the get oauth token method to return an oauth token from kubernetes secrets if token is not found in the system memory of the che-server pod. If provider name value is not configured in the kubernetes secret oauth token, get the token by mapping it by provider url from the secret and oauth provider name from the aouth config secret.
2024-02-08 10:22:51 +02:00
che-bot
62f301c42d
chore: Bump to 7.82.0-SNAPSHOT in main ( #651 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-02-02 19:53:07 +02:00
Mykhailo Kuznietsov
978f2cdd21
chore: Bump to 7.81.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-01-11 15:35:09 +01:00
che-bot
e3ccf70b64
chore: Bump to 7.80.0-SNAPSHOT in main ( #628 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-12-28 02:23:26 +02:00
Igor Vinokur
151ef89772
Return oauth1 providers on registered oauth providers list request ( #624 )
...
Add the list of oauth1 providers to the list of registered oauth2 providers on get registered oauth providers API request.
2023-12-21 14:03:42 +02:00
Anatolii Bazko
f7a49f9fec
fix: work with Bitbucket users containing special characters in theirs names ( #622 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-12-07 17:35:43 +01:00
Anatolii Bazko
7fe2a4dd3f
feat: Advanced authorization ( #619 )
...
* feat: Advanced authorization
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Renames fields
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Address remarks
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Address remarks
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Address remarks
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-12-04 15:55:35 +01:00
Mykhailo Kuznietsov
7acf4cc2d9
chore: Bump to 7.79.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-30 12:24:39 +01:00
Anatolii Bazko
b9317fd1af
fix: Ignore PAT with emtpy SCM url ( #610 )
...
* fix: Ignore PAT with emtpy SCM url
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-17 16:37:19 +01:00
Anatolii Bazko
b5e1e2a4a2
chore: Validate OAuth token secrets on namespace provisioning ( #608 )
...
* chore: Validate OAuth token secrets on namespace provisioning
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-15 15:08:48 +01:00
che-bot
92b37d2b6e
chore: Bump to 7.78.0-SNAPSHOT in main ( #605 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-13 13:38:23 +02:00
Mykhailo Kuznietsov
26cf509ea7
chore: Bump to 7.77.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-06 09:39:16 +01:00
Igor Vinokur
148415c691
Respect authorisation request opt-out on workspace start ( #576 )
...
If user rejects an scm provider authorisation request while creating or starting existed workspace store the name of the scm provider in the workspace-preferences config-map. The workspace create/start step must proceed without token fetch step. If user creates another workspace or starts existed workspace from an scm provider which name is stored in the config-map, do not ask the authorisation as it was already rejected once.
2023-10-12 15:59:42 +03:00
Igor Vinokur
f27f8b1589
Update minor maven dependencies ( #577 )
2023-10-12 14:38:05 +03:00
Mykhailo Kuznietsov
2f2a939823
chore: Bump to 7.76.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-09-28 10:13:22 +02:00
che-bot
033d310b0d
chore: Bump to 7.75.0-SNAPSHOT in main ( #554 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-09-11 19:17:12 -03:00
Igor Vinokur
da5174bf17
Duplicate creating a git-credentials secret on token fetch ( #551 )
...
Duplicate the git-credentials secret creation step on create personal access token secret. Currently this step is performed on workspace provision step but in this case the PAT secret might be initialised when the provision is finished. In order to synchronise the personal access token secret and git credentials secret creation step duplicate the git credentials secret creation step after the PAT secret creation step.
Refactor the get(scmServerUrl) function in the KubernetesPersonalAccessTokenManager class
2023-09-05 12:49:09 +03:00
Igor Vinokur
ce6ed7e9c0
Update io.fabric8.kubernetes-client version to latest ( #549 )
2023-08-29 16:38:31 +03:00
Mykhailo Kuznietsov
8d19ea8046
chore: Bump to 7.74.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-08-23 15:09:29 +02:00
Mykhailo Kuznietsov
29ff3f3e75
chore: Bump to 7.73.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-31 10:50:12 +02:00
Igor Vinokur
df3fc9965a
Omit scm-username annotation from the PAT secret ( #533 )
...
Ignore the che.eclipse.org/scm-username annotation when fetching token from a PAT secret. Instead fetch the username from the isValid(<token>) request.
2023-07-25 18:52:54 +03:00
Mykhailo Kuznietsov
2cd1bb2b46
chore: Bump to 7.72.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-24 12:10:57 +02:00
Igor Vinokur
aee2079322
Use hardcoded string as username for Azure git credentials ( #529 )
...
Since Azure git provider do not support username for its user object, use username string as username in the git credentials file if the PAT is related to Azure Devops: https://username :<token>@dev.azure.com
2023-07-06 09:37:33 +03:00
Mykhailo Kuznietsov
454bc7304f
chore: Bump to 7.71.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-30 09:45:41 +02:00
Igor Vinokur
287b903010
Provision git credentials secrets on workspace start ( #527 )
...
On workspace start iterate user PAT secrets. If a PAT secret is not included to the devworkspace-merged-git-credentials secret, create a git credentials secret based on the PAT secret.
Remove the redundant logic of creation an empty workspace-credentials-secret secret.
2023-06-26 17:18:32 +03:00
Mykhailo Kuznietsov
c23792c7b1
chore: Bump to 7.70.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-15 10:18:24 +02:00
Mykhailo Kuznietsov
fdb2dbf163
chore: Bump to 7.69.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-06-02 16:13:59 +02:00
Anatolii Bazko
dd873a597b
chore: Use CheServer client factory to handle Kubernetes operation in a user namespace ( #516 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-25 17:20:59 +03:00
Mykhailo Kuznietsov
559de5a7f1
chore: Bump to 7.68.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-18 10:44:15 +02:00
Mykhailo Kuznietsov
1fb16e5b63
chore: Bump to 7.67.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-10 10:27:11 +02:00
David Kwon
eac9cef22b
feat: allow che-operator to detect user-profile secret
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2023-05-09 13:04:42 -04:00
Mykhailo Kuznietsov
b333b7bdb9
chore: Bump to 7.66.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-21 13:06:43 +02:00
Mykhailo Kuznietsov
d0402f0b8e
chore: Bump to 7.65.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-19 11:11:56 +02:00
Igor Vinokur
8d0d9ac5d8
Withdraw scm-userid value in PAT secrets and use scm-username instead ( #496 )
...
Withdraw the scm-userid annotation from the PAT secret structure.
Rework the PAT validation to check scm-username instead scm-userid.
2023-04-19 09:37:29 +03:00
Anatolii Bazko
b24e3c7d95
feat: support retrieving Git user data when PAT is configured ( #489 )
...
* feat: support retrieving Git user data when PAT is configured
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 10:14:40 +03:00
Igor Vinokur
45e9d18d22
Fix vuOAlnerable dependencies
...
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2023-03-29 19:04:50 +02:00
Mykhailo Kuznietsov
63c72d2628
chore: Bump to 7.64.0-SNAPSHOT in main
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-27 15:40:05 +02:00
Valeriy Svydenko
ab04d83427
fix: trim blank chars in PAT ( #469 )
...
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-20 21:16:38 +02:00