Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rbac #140

Merged
merged 323 commits into from
Oct 1, 2024
Merged

Rbac #140

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
58d0ef1
Update rbac.md
rasika-chivate Jul 15, 2024
4361a8f
Update rbac.md
rasika-chivate Jul 15, 2024
3b435f8
Update rbac.md
rasika-chivate Jul 15, 2024
c51d55d
Update rbac.md
rasika-chivate Jul 15, 2024
cafab59
Update rbac.md
rasika-chivate Jul 15, 2024
21f051c
Update rbac.md
rasika-chivate Jul 15, 2024
9dd287c
Update rbac.md
rasika-chivate Jul 15, 2024
0536ebf
Update rbac.md
rasika-chivate Jul 15, 2024
aa38b8b
Update rbac.md
rasika-chivate Jul 15, 2024
f0146d2
Update rbac.md
rasika-chivate Jul 15, 2024
9a4ab91
Update rbac.md
rasika-chivate Jul 15, 2024
deba07e
Update rbac.md
rasika-chivate Jul 15, 2024
b2a5567
Update rbac.md
rasika-chivate Jul 15, 2024
879d727
Update rbac.md
rasika-chivate Jul 15, 2024
b0071d8
Update rbac.md
rasika-chivate Jul 15, 2024
15cd370
Update rbac.md
rasika-chivate Jul 15, 2024
ec44530
Update rbac.md
rasika-chivate Jul 16, 2024
4431057
assign permission to new user
rasika-chivate Jul 16, 2024
a74dc12
Update rbac.md
rasika-chivate Jul 16, 2024
7591ec5
Update rbac.md
rasika-chivate Jul 16, 2024
8910e5b
Update rbac.md
rasika-chivate Jul 16, 2024
fde657e
Update rbac.md
rasika-chivate Jul 16, 2024
5813fa3
Update rbac.md
rasika-chivate Jul 16, 2024
12212d6
add link
rasika-chivate Jul 16, 2024
ca45027
Update rbac.md
rasika-chivate Jul 16, 2024
73f9a79
Update rbac.md
rasika-chivate Jul 16, 2024
372c48a
Update mkdocs-base.yml
rasika-chivate Jul 16, 2024
adf4b97
Update rbac.md
rasika-chivate Jul 16, 2024
c100541
Update rbac.md
rasika-chivate Jul 16, 2024
a1ab4d0
Update manage_users.md
rasika-chivate Jul 16, 2024
4f46a46
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
2701f9c
Update rbac.md
rasika-chivate Jul 16, 2024
7527521
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Jul 16, 2024
857770c
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
3ba0d8b
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
1f916c9
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
7875987
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
578dfd9
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
3f87a75
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
9872006
change the read only policy
rasika-chivate Jul 16, 2024
0968c1c
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
3aeb1da
Update rbac.md
rasika-chivate Jul 16, 2024
35e829a
Update docs/administer/rbac.md
rasika-chivate Jul 16, 2024
779829b
Update rbac.md
rasika-chivate Jul 17, 2024
e13bea4
Update rbac.md
rasika-chivate Jul 17, 2024
e10dfa4
Update rbac.md
rasika-chivate Jul 17, 2024
62b88ff
Update rbac.md
rasika-chivate Jul 17, 2024
ae799f2
Update rbac.md
rasika-chivate Jul 18, 2024
4656956
Update rbac.md
rasika-chivate Jul 18, 2024
6b10430
Update rbac.md
rasika-chivate Jul 18, 2024
dc4ebd8
Update rbac.md
rasika-chivate Jul 18, 2024
fd58a86
Update rbac.md
rasika-chivate Jul 18, 2024
3c81564
Update rbac.md
rasika-chivate Jul 18, 2024
e68d84b
Update rbac.md
rasika-chivate Jul 19, 2024
f536d52
Update rbac.md
rasika-chivate Jul 19, 2024
d492f26
Update rbac.md
rasika-chivate Jul 19, 2024
30dbdf8
Update rbac.md
rasika-chivate Jul 19, 2024
317c8fc
Update rbac.md
rasika-chivate Jul 19, 2024
1a3af98
Update rbac.md
rasika-chivate Jul 19, 2024
4f44b77
Update rbac.md
rasika-chivate Jul 19, 2024
c420ab5
Update rbac.md
rasika-chivate Jul 21, 2024
b366b05
test RBAC policcy
rasika-chivate Jul 21, 2024
0e843c2
Update rbac.md
rasika-chivate Jul 21, 2024
7930d2e
Update rbac.md
rasika-chivate Jul 21, 2024
085a08e
Update rbac.md
rasika-chivate Jul 21, 2024
7ecf507
Update docs/administer/rbac.md
rasika-chivate Jul 21, 2024
2c7c601
Update docs/administer/rbac.md
rasika-chivate Jul 21, 2024
9ced5ff
Update rbac.md
rasika-chivate Jul 21, 2024
6fa007e
Update rbac.md
rasika-chivate Jul 21, 2024
8626513
Merge branch 'main' into RBAC
rasika-chivate Aug 26, 2024
18f5229
added api changes topic
rasika-chivate Aug 26, 2024
58553b5
Update api_rbac.md
rasika-chivate Aug 27, 2024
6b6c354
Update api_rbac.md
rasika-chivate Aug 27, 2024
82cab08
Update api_rbac.md
rasika-chivate Aug 27, 2024
5cf5c49
Update api_rbac.md
rasika-chivate Aug 27, 2024
6ca7132
Update api_rbac.md
rasika-chivate Aug 27, 2024
cc9bd1a
Update mkdocs-base.yml
rasika-chivate Aug 27, 2024
a346a06
Update api_rbac.md
rasika-chivate Aug 28, 2024
21dbb5f
Update api_rbac.md
rasika-chivate Aug 28, 2024
3f2d07b
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
c936b16
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
a38b6eb
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
2c13d39
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
8a6df48
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
fb52139
Update api_rbac.md
rasika-chivate Aug 28, 2024
e45a9eb
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
32be466
Update upgrade_with_cli.md
rasika-chivate Aug 28, 2024
11ac638
Update docs/administer/api_rbac.md
rasika-chivate Sep 4, 2024
74dcba6
Update api_rbac.md
rasika-chivate Sep 4, 2024
425acc8
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 4, 2024
dd2632e
Update docs/administer/api_rbac.md
rasika-chivate Sep 4, 2024
62ea2df
Update api_rbac.md
rasika-chivate Sep 4, 2024
e69bd00
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 4, 2024
5c7bf4e
Update docs/upgrade_with_cli.md
rasika-chivate Sep 4, 2024
9b810f5
Update upgrade_with_cli.md
rasika-chivate Sep 4, 2024
03a7534
images for rbac
rasika-chivate Sep 5, 2024
5ef176c
Update rbac.md
rasika-chivate Sep 5, 2024
4a383d7
Update rbac.md
rasika-chivate Sep 5, 2024
58dda77
Update rbac.md
rasika-chivate Sep 5, 2024
fb2b333
Update rbac.md
rasika-chivate Sep 5, 2024
827cf25
Update rbac.md
rasika-chivate Sep 5, 2024
0109203
Update rbac.md
rasika-chivate Sep 5, 2024
e454a05
added ianges for readonly role
rasika-chivate Sep 5, 2024
56ea9d5
Update rbac.md
rasika-chivate Sep 5, 2024
84a41f7
Update rbac.md
rasika-chivate Sep 5, 2024
cf88620
Create rbac_storages_permissions.png
rasika-chivate Sep 5, 2024
8a009ea
Update rbac.md
rasika-chivate Sep 5, 2024
10b99c9
Update rbac.md
rasika-chivate Sep 5, 2024
421c546
Update rbac.md
rasika-chivate Sep 5, 2024
cee5837
Update rbac.md
rasika-chivate Sep 5, 2024
9f365b7
Update rbac.md
rasika-chivate Sep 5, 2024
9f05119
Update api_rbac.md
rasika-chivate Sep 9, 2024
620df0c
Update docs/administer/api_rbac.md
rasika-chivate Sep 9, 2024
adf6438
Update docs/administer/api_rbac.md
rasika-chivate Sep 9, 2024
c309e99
Merge branch 'Release-1.2.0' into RBAC
rasika-chivate Sep 9, 2024
3ce47c0
Update api_rbac.md
rasika-chivate Sep 9, 2024
4bc4ed7
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 9, 2024
6440ebd
Update docs/administer/api_rbac.md
rasika-chivate Sep 9, 2024
f399166
typo nd formating fixes
rasika-chivate Sep 9, 2024
74c31be
Update api_rbac.md
rasika-chivate Sep 9, 2024
79073df
Update rbac.md
rasika-chivate Sep 9, 2024
7ccaed7
Update docs/administer/rbac.md
rasika-chivate Sep 9, 2024
18d124b
Update docs/administer/rbac.md
rasika-chivate Sep 9, 2024
768a56c
Update docs/release-notes/Percona-Everest-1.1.0-(2024-08-12).md
rasika-chivate Sep 9, 2024
8835cf5
moved the API doc to reference section
rasika-chivate Sep 11, 2024
ea9c8d6
Update docs/administer/rbac.md
rasika-chivate Sep 11, 2024
c6bb1a0
Update mkdocs-base.yml
rasika-chivate Sep 11, 2024
7e7eb17
added a section for breaking API section and added link to the main t…
rasika-chivate Sep 11, 2024
71095cd
Update rbac.md
rasika-chivate Sep 11, 2024
91c6c16
Update docs/administer/rbac.md
rasika-chivate Sep 11, 2024
34c4ad9
Update docs/administer/rbac.md
rasika-chivate Sep 11, 2024
f846e93
Update rbac.md
rasika-chivate Sep 12, 2024
e590248
Update rbac.md
rasika-chivate Sep 12, 2024
f702077
Update rbac.md
rasika-chivate Sep 12, 2024
db8d705
Update rbac.md
rasika-chivate Sep 12, 2024
4d68e1e
Update rbac.md
rasika-chivate Sep 12, 2024
533c7fb
Update rbac.md
rasika-chivate Sep 20, 2024
6666a8a
Update rbac.md
rasika-chivate Sep 20, 2024
2a92023
Update rbac.md
rasika-chivate Sep 20, 2024
e3af1c3
Update rbac.md
rasika-chivate Sep 20, 2024
68f411b
Update rbac.md
rasika-chivate Sep 20, 2024
b46b564
Update rbac.md
rasika-chivate Sep 20, 2024
f5dadaf
Update rbac.md
rasika-chivate Sep 20, 2024
ee5392f
Update rbac.md
rasika-chivate Sep 20, 2024
0516e23
Update rbac.md
rasika-chivate Sep 20, 2024
825e341
Update rbac.md
rasika-chivate Sep 20, 2024
94870ae
Update rbac.md
rasika-chivate Sep 20, 2024
3f8a07c
Update rbac.md
rasika-chivate Sep 20, 2024
f5fa57b
Update rbac.md
rasika-chivate Sep 20, 2024
7c77c16
Update rbac.md
rasika-chivate Sep 20, 2024
229f65e
Update rbac.md
rasika-chivate Sep 20, 2024
a22460f
Update rbac.md
rasika-chivate Sep 20, 2024
83285bb
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
f4dd9bd
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
76bd86b
implenting feedback
rasika-chivate Sep 20, 2024
adf1058
Update rbac.md
rasika-chivate Sep 20, 2024
3d86030
Update rbac.md
rasika-chivate Sep 20, 2024
9ad2510
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
676260e
Update rbac.md
rasika-chivate Sep 20, 2024
d9c51fb
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 20, 2024
a694583
Update rbac.md
rasika-chivate Sep 20, 2024
b2dc0ab
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
5b9814c
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
84729f9
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
fb3732a
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
42a94c7
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
a01fb91
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
669cb30
Update docs/administer/rbac.md
rasika-chivate Sep 20, 2024
526e8a2
Update rbac.md
rasika-chivate Sep 20, 2024
3ee3519
Update rbac.md
rasika-chivate Sep 20, 2024
3cf3215
Update rbac.md
rasika-chivate Sep 20, 2024
fa2c090
Update rbac.md
rasika-chivate Sep 23, 2024
985c069
add examples
rasika-chivate Sep 23, 2024
8f18661
Update rbac.md
rasika-chivate Sep 23, 2024
c0173ed
Update rbac.md
rasika-chivate Sep 23, 2024
462ba13
Update rbac.md
rasika-chivate Sep 23, 2024
566e70b
Update rbac.md
rasika-chivate Sep 23, 2024
c90a162
Update rbac.md
rasika-chivate Sep 23, 2024
403759f
Update rbac.md
rasika-chivate Sep 23, 2024
9831a88
Update rbac.md
rasika-chivate Sep 23, 2024
6f9fa8f
Update rbac.md
rasika-chivate Sep 23, 2024
1aa41bd
Update rbac.md
rasika-chivate Sep 23, 2024
947e4f6
Update rbac.md
rasika-chivate Sep 23, 2024
09425fc
Update rbac.md
rasika-chivate Sep 23, 2024
ca9395a
Update rbac.md
rasika-chivate Sep 23, 2024
7fd5cce
Update rbac.md
rasika-chivate Sep 23, 2024
80ba0a1
Update rbac.md
rasika-chivate Sep 23, 2024
6652459
Update rbac.md
rasika-chivate Sep 23, 2024
f0e33c8
Update rbac.md
rasika-chivate Sep 23, 2024
69b28da
Update rbac.md
rasika-chivate Sep 23, 2024
667cbef
Update rbac.md
rasika-chivate Sep 23, 2024
dd93490
Update rbac.md
rasika-chivate Sep 23, 2024
a2b10d8
Update rbac.md
rasika-chivate Sep 23, 2024
06afaa6
Update rbac.md
rasika-chivate Sep 23, 2024
f1f485a
Update rbac.md
rasika-chivate Sep 23, 2024
be37049
Update rbac.md
rasika-chivate Sep 23, 2024
c9de7e8
Update rbac.md
rasika-chivate Sep 23, 2024
d492197
Update docs/administer/rbac.md
rasika-chivate Sep 23, 2024
fa5ba89
Update rbac.md
rasika-chivate Sep 23, 2024
b1faf08
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 23, 2024
9fcf11d
Update rbac.md
rasika-chivate Sep 23, 2024
b355579
Update rbac.md
rasika-chivate Sep 23, 2024
64a4c29
Update docs/administer/rbac.md
rasika-chivate Sep 23, 2024
d61da86
Update rbac.md
rasika-chivate Sep 23, 2024
7a2329c
fix typos
rasika-chivate Sep 24, 2024
64a7cd1
Update rbac.md
rasika-chivate Sep 24, 2024
357af92
Create Percona-Everest-1.2.0-(2024-09-09).md
rasika-chivate Sep 24, 2024
9a6df84
added tabs for examples for better readability
rasika-chivate Sep 24, 2024
b7bcc09
Update rbac.md
rasika-chivate Sep 24, 2024
1da5ac8
Update rbac.md
rasika-chivate Sep 24, 2024
f522227
Update rbac.md
rasika-chivate Sep 24, 2024
0e276f9
Update rbac.md
rasika-chivate Sep 24, 2024
ae2fdf9
Update rbac.md
rasika-chivate Sep 24, 2024
c33072a
Update rbac.md
rasika-chivate Sep 24, 2024
e908450
Update rbac.md
rasika-chivate Sep 24, 2024
c326814
Update rbac.md
rasika-chivate Sep 24, 2024
b6989d4
Update rbac.md
rasika-chivate Sep 24, 2024
f6040d0
Update rbac.md
rasika-chivate Sep 24, 2024
63391c8
Update docs/administer/rbac.md
rasika-chivate Sep 26, 2024
7dd28e6
Update docs/administer/rbac.md
rasika-chivate Sep 26, 2024
a22d6e1
Update rbac.md
rasika-chivate Sep 26, 2024
babbf13
Update docs/administer/rbac.md
rasika-chivate Sep 26, 2024
0785067
Update rbac.md
rasika-chivate Sep 26, 2024
ddb1221
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 26, 2024
48544dd
Merge branch 'Release-1.2.0' into RBAC
rasika-chivate Sep 26, 2024
d90814f
Update docs/administer/rbac.md
rasika-chivate Sep 26, 2024
934f0ea
Update rbac.md
rasika-chivate Sep 26, 2024
d3175b0
Merge branch 'RBAC' of https://github.com/percona/everest-doc into RBAC
rasika-chivate Sep 26, 2024
9dc537b
Update rbac.md
rasika-chivate Sep 26, 2024
9475b9f
Update rbac.md
rasika-chivate Sep 27, 2024
0d6de44
Update rbac.md
rasika-chivate Sep 27, 2024
e8d27f8
Update SetupPrereqs.md
rasika-chivate Sep 30, 2024
a6de12f
Update docs/administer/rbac.md
rasika-chivate Sep 30, 2024
f0ecd79
Update docs/administer/rbac.md
rasika-chivate Sep 30, 2024
bdb8183
Update docs/administer/rbac.md
rasika-chivate Sep 30, 2024
7872fc1
Update docs/administer/rbac.md
rasika-chivate Sep 30, 2024
334234b
Update rbac.md
rasika-chivate Sep 30, 2024
dbfa5ed
Update rbac.md
rasika-chivate Sep 30, 2024
b9787a2
Update rbac.md
rasika-chivate Sep 30, 2024
bfcbfa4
Update rbac.md
rasika-chivate Sep 30, 2024
410f802
Update rbac.md
rasika-chivate Sep 30, 2024
6c3def1
Update rbac.md
rasika-chivate Sep 30, 2024
7bff1d3
Update rbac.md
rasika-chivate Sep 30, 2024
acc45c6
Update rbac.md
rasika-chivate Sep 30, 2024
34f096f
Update rbac.md
rasika-chivate Sep 30, 2024
04390b0
Update rbac.md
rasika-chivate Sep 30, 2024
7c8e987
Update rbac.md
rasika-chivate Sep 30, 2024
2b9b0c1
Update rbac.md
rasika-chivate Sep 30, 2024
c70c508
Update docs/administer/rbac.md
rasika-chivate Oct 1, 2024
d0ddf39
Update docs/administer/rbac.md
rasika-chivate Oct 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/administer/manage_users.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ You will be prompted to enter the password for this user.
```

!!! info "Important"

For Percona Everest versions 1.0.0 and later, new users have full access to the system. However, once RBAC support is in place, an admin user will be able to manage permissions for users, granting them fine-grained control over database resources.

For detailed information on granting permissions to new users, see [assign permissions to a new user](rbac.md#assign-users-to-a-group-and-grant-them-permissions) section.

### List the users

Expand Down
540 changes: 540 additions & 0 deletions docs/administer/rbac.md

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions docs/api_rbac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Navigating the breaking API changes for RBAC

Starting with Percona Everest v1.2.0, breaking changes are being made to the API for `monitoring-instances` and `backup-storage` resources. These changes are:

- Before the release of Percona Everest 1.2.0, these resources were globally scoped, but now they will be specific to namespaces.

- The database clusters can only use `monitoring-instances` and `backup-storages` located within the same namespace as the cluster. The system used a `.spec.allowedNamespaces` field to control access to these global resources. This field determined the namespaces where the resource could be accessed, providing a certain degree of access control.

- With the update to Percona Everest v1.2.0, the shift from global scope to designated namespaces for these resources marks a significant change in the way access control is managed. This change enhances security by ensuring these resources are only accessible within their designated namespaces.

## Challenges with globally scoped namespaces

In Percona Everest v1.2.0, we’ve rolled out Role Based Access Control (RBAC) to enhance security and provide more granular control over the access privileges for specific resources within the system. This implementation provides fine-grained control over which users and user groups can access particular resources within the system.

The RBAC model functions on the principle that all resources are organized into namespaces. This enables a well-structured and hierarchical arrangement of resources, simplifying access rights management according to the namespace to which a resource is associated.

Prior to Percona Everest version 1.2.0, certain resources such as `backup-storages` and `monitoring-instances` were not organized into namespaces but were accessible globally. To enforce access restrictions on these globally scoped resources, the system utilized a `.spec.allowedNamespaces` field. The `.spec.allowedNamespaces` field specifies the namespaces within which the resource can be accessed, giving you certain level of control.

Using the `.spec.allowedNamespaces` field for globally scoped resources presented challenges when integrating with the core RBAC model. To fix this and align with the RBAC framework, `backup-storages` and `monitoring-instances` are now namespaced resources. This ensures that all resources conform to the same RBAC model, which results in a consistent and manageable access control structure across the system.

## Changes in the Percona Everest APIs

The APIs have been updated with the following modifications:

- The existing APIs for backup storage and monitoring instances are deprecated. Now, you should use the API path prefixed with `/namespaces/{namespace}`.

??? example "Example"

```/v1/backup-storages``` is now

```/v1/namespaces/{namespace}/backup-storages```

Check out the [API](https://percona-everest.readme.io/reference/getkubernetesclusterresources) documentation for more details.

- The `.spec.allowedNamespaces` field has been deprecated. Access control for these resources is now managed through the RBAC policy.

- `database-clusters` can now only reference `backup-storages` and `monitoring-instances` created within the same namespace as the `database-cluster`.

### Migrating to Percona Everest 1.2.0

When upgrading to 1.2.0, all your existing backup-storages and monitoring-instances will be automatically migrated to the namespaces specified in their `.spec.allowedNamespaces `fields. After the upgrade, these resources will be accessible exclusively through the new API endpoints.

Need more details? Check out the [upgrade](../upgrade_with_cli.md#upgrading-to-percona-everest-120) section.





Binary file added docs/images/rbac_backup_permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/rbac_cluster_permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/rbac_monitoring_permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/rbac_readonly_ns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/rbac_readonly_role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/rbac_storages_permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/install/SetupPrereqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Percona Everest has two primary components:
## Supported operators

* Percona Operator for MySQL Based on Percona XtraDB Cluster (PXC) 1.14.0, 1.15.0
* Percona Operator for MongoDB (PSMDB) 1.15.0, 1.17.0
* Percona Operator for MongoDB (PSMDB) 1.15.0
* Percona Operator for PostgreSQL (PG) 2.3.1, 2.4.1

## Supported k8s clusters
Expand All @@ -19,7 +19,7 @@ However, not all the many combinations of K8s distributions and K8s versions mig

| Platform | Kubernetes Version | State |
|:----------------------|:-------------------|:----------------------------------------|
| Google GKE | 1.27-1.29 | Fully tested and certified |
| Google GKE | 1.27 - 1.29 | Fully tested and certified |
| Amazon EKS | 1.28 - 1.30 | Fully tested and certified |
| Azure AKS | - | Works but not fully certified yet |
| DigitalOcean | - | Works but not fully certified yet |
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes/Percona-Everest-1.1.0-(2024-08-12).md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ curl -sS "https://raw.githubusercontent.com/percona/everest-doc/main/tools/bin/c

What to do if you have schedules or backups that are using duplicated storages in different database technologies.

=== ":simple-mongodb: MongoDB :simple-mysql: MySQL"
=== ":simple-mongodb: MongoDB or :simple-mysql: MySQL"

Create a new backup using a different backup storage. Then, delete the old schedules and backups that use the duplicated storage.

Expand Down
250 changes: 250 additions & 0 deletions docs/release-notes/Percona-Everest-1.2.0-(2024-09-09).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
# What's new in Percona Everest 1.2.0

To begin your journey with Percona Everest, check out the [Quickstart Guide for Percona Everest](../quickstart-guide/quick-install.md).


!!! warning
Percona Everest v1.2.0 introduces breaking changes to the API. Once you upgrade to version 1.2.0, the process cannot be reversed.


## Release summary

|**Sr. No**|**Release summary**|**Description**|
|---------|---------------------|---------|
| **1.** |[Role-based access control (RBAC)](#introducing-rbac-in-percona-everest-ensure-security-and-simplify-database-access-management)|Introducing RBAC in Percona Everest: Ensure security and simplify database access management|
| **2.**|[Breaking API changes](#percona-everest-120-a-deep-dive-into-breaking-api-changes)|Percona Everest v1.2.0: A deep dive into Breaking API changes|
| **3.**|[Operator upgrades](#improved-mulitple-operator-upgrades)|Improved multiple operator upgrades|
| **4.**|[New features](#new-features)|Check out the new features introduced in Percona Everest 1.2.0|
| **5.**|[Improvements](#improvements)|Discover all the enhancements featured in Percona Everest 1.2.0|
| **6.**|[New and deprecated API's](#the-latest-in-apis-whats-new-and-whats-deprecated)|Discover all the new APIs that have been added to Percona Everest 1.2.0, as well as any deprecated APIs|
| **7.**|[Bugs](#bugs)|Find out about all the bugs fixed in Percona Everest 1.2.0|



## Release highlights


=== "Breaking API changes"

### Percona Everest 1.2.0: A deep dive into Breaking API changes

Beginning with Percona Everest v1.2.0, breaking changes are being introduced to the API for `monitoring-instances` and `backup-storages` resources. These updates include:

- Before the launch of Percona Everest 1.2.0, the resources `monitoring-instances` and `backup-storages` had a global scope. Percona Everest used a `.spec.allowedNamespaces` field to control access to these global resources. This field defined the namespaces where the resources could be accessed, thus providing some degree of access control.

- With the upgrade to Percona Everest version 1.2.0, the transition from global scope to the designated namespaces for these resources is an important change in the way access control is managed. This improves security as the resources are only accessible within their designated namespaces. The database clusters can only use `monitoring-instances` and `backup-storages` located within the same namespace as the cluster.

- When upgrading to 1.2.0 using the CLI command `everestctl upgrade`, all your existing `backup-storages` and `monitoring-instances` will be automatically migrated to the namespaces specified in their `.spec.allowedNamespaces` fields.

!!! note
After the upgrade to Percona Everest 1.2.0, you will only be able to access these resources through the new API endpoints.

Check out our [documentation](docs.percona.com/everest//administer/api_rbac.html#changes-in-the-percona-everest-apis) for in-depth details on the Breaking API changes.


=== "RBAC"

### Introducing RBAC in Percona Everest: Ensure security and simplify database access management

!!! warning "Disclaimer"
RBAC is currently in **Technical Preview**. Early adopters are advised to use this feature only for testing purposes and not in production environments.

Starting with Percona Everest 1.2.0, we’ve enhanced our platform by introducing Role-Based Access Control (RBAC), which regulates resource access for better management and security.

With RBAC, only authorized individuals can access specific resources or perform certain actions based on their assigned roles. This method improves security by minimizing the risk of unauthorized access and helps manage permissions more efficiently across Percona Everest.

To enable or disable RBAC in Percona Everest, you can use a configuration flag that allows switching between RBAC-enabled and RBAC-disabled modes. By default, RBAC is disabled.

Here's a breakdown of the key concepts in RBAC:

- [Roles](https://docs.percona.com/everest/administer/rbac.html#default-role) - Roles are a set of permissions that allow users to access and carry out various tasks within Percona Everest.

- [RBAC resources and privileges](https://docs.percona.com/everest/administer/rbac.html#rbac-resources-and-privileges): Resources are the entities or objects within Percona Everest that require controlled access. Privileges specify the particular actions that a role is able to perform on a resource.

- [Policy definition](https://docs.percona.com/everest/administer/rbac.html#policy-definition-in-rbac): RBAC policies are the rules and guidelines that define how roles, permissions, and users are managed within RBAC.


The policy definition in Percona Everest is:

```sh
p, <subject>, <resource-type>, <action>, <resource-name>
```

- [Role assignment](https://docs.percona.com/everest/administer/rbac.html#assigning-roles-to-users): Assigning specific roles to individual users within Percona Everest is crucial for the roles to be effective.

The syntax for assigning a role is as follows:

```sh
g, username, rolename
```

Explore our comprehensive [documentation](https://docs.percona.com/everest/administer/rbac.html) for everything you need to know about RBAC.

=== "Operator upgrades"

### Improved multiple operator upgrades

Starting with Percona Everest 1.2.0, it's important to note that due to limitations with the [Operator Lifecycle Manager (OLM)](https://olm.operatorframework.io/), it is now required to upgrade all database operators concurrently with their components across any namespace. The upgrade process can be accomplished using our intuitive UI.

Before initiating the upgrade process, Percona Everest provides a comprehensive list of tasks that must be completed to ensure a seamless transition of your clusters to the next version of the database operators.


## New features

- [EVEREST-1103](https://perconadev.atlassian.net/browse/EVEREST-1103): Starting with Percona Everest 1.2.0, we've restricted actions based on RBAC roles, ensuring that users are explicitly granted access to the resources required for their specific roles. This enhances security and simplifies access control processes.

- [EVEREST-1142](https://perconadev.atlassian.net/browse/EVEREST-1142): We have now added a [new command](../administer/rbac.md#validate-your-rbac-policy) for validating your RBAC policy to ensure that your RBAC policies are working as expected.

- [EVEREST-1240](https://perconadev.atlassian.net/browse/EVEREST-1240): We have added support for PostgreSQL operator version 2.4.1.

- [EVEREST-1298](https://perconadev.atlassian.net/browse/EVEREST-1298): We have added support for MySQL operator version 1.15.0.

- [EVEREST-1035](https://perconadev.atlassian.net/browse/EVEREST-1035): We've now included **Retention copies** for PostgreSQL as well when setting up backup schedules.


## Improvements

- [EVEREST-1165](https://perconadev.atlassian.net/browse/EVEREST-1165)- Due to limitations with the [Operator Lifecycle Manager (OLM)](https://olm.operatorframework.io/), it is now required to upgrade all database operators concurrently with their components across any namespace.

- [EVEREST-1212](https://perconadev.atlassian.net/browse/EVEREST-1212) - Starting with Percona Everest 1.2.0, you can now directly edit the monitoring endpoint from the database overview page, instead of having to use the Edit database wizard.


- [EVEREST-1230](https://perconadev.atlassian.net/browse/EVEREST-1230): We've updated the **Resources** panel on the **Database overview** page to be independent instead of part of the **DB Details** panel and improved the overall look and feel of this page.


- [EVEREST-1369](https://perconadev.atlassian.net/browse/EVEREST-1369): We've updated the documentation for the section on turning off telemetry.


## The latest in APIs: What’s new and what’s deprecated


### Newly added API endpoints

Check out the new API endpoints we've added in Percona Everest 1.2.0:
{.power-number}

1. `/namespaces/{namespace}/monitoring-instances`

```{.bash .no-copy}
a. GET
b. POST
```


2. `/namespaces/{namespace}/monitoring-instances/{name}`

```{.bash .no-copy}
a. GET
b. PATCH
c. DELETE
```

3. `/namespaces/{namespace}/backup-storages`

```{.bash .no-copy}
a. GET
b. POST
```

4. `/namespaces/{namespace}/backup-storages/{name}`

```{.bash .no-copy}
a. GET
b. PATCH
c. DELETE
```

5. `/permissions`


```{.bash .no-copy}
a. GET
```


### Deprecated API endpoints

This is the list of the API endpoints deprecated:
{.power-number}

1. Check out the endpoints/methods that had been deprecated from Percona Everest v1.1.0:


a. `/namespaces/{namespace}/database-engines/{name}/operator-version/preflight`

```{.bash .no-copy}
1. GET
```

b. `/namespaces/{namespace}/database-engines/{name}/operator-version`

```{.bash .no-copy}
1. GET
2. PUT
```

2. Deprecated the following endpoints/methods:

c. `/monitoring-instances`

```{.bash .no-copy}
1. GET
2. POST
```

d. `/monitoring-instances/{name}`

```{.bash .no-copy}
1. GET
2. PATCH
3. DELETE
```

e. `/backup-storages`

```{.bash .no-copy}
1. GET
2. POST
```

f. `/backup-storages/{name}`

```{.bash .no-copy}
1. GET
2. PATCH
3. DELETE
```

## Bugs

- [EVEREST-768](https://perconadev.atlassian.net/browse/EVEREST-768): The PostgreSQL pods now demonstrate the intended behavior by not getting stuck, as they automatically restart when the database is restarted.


- [EVEREST-1232](https://perconadev.atlassian.net/browse/EVEREST-1232): The backups and restore pages have been updated to show consistent date formats.

- [EVEREST-1253](https://perconadev.atlassian.net/browse/EVEREST-1253): The **Delete** option in the backup menu is properly now disabled if the backup is in the **Deleting** status.

- [EVEREST-1273](https://perconadev.atlassian.net/browse/EVEREST-1273) Backend sends an empty response if the backup storage URL is edited to an HTTP address.

- [EVEREST-1279](https://perconadev.atlassian.net/browse/EVEREST-1279): The CPU value displayed on the **Resources page** and the **Database Summary** panel is now consistent.

- [EVEREST-1286](https://perconadev.atlassian.net/browse/EVEREST-1286): When editing a backup schedule, the option to change the backup name is now disabled.

- [EVEREST-1287](https://perconadev.atlassian.net/browse/EVEREST-1287) Updated the default affinity settings for the database cluster pods. A database restart is required in order to apply these new settings.

- [EVEREST-1315](https://perconadev.atlassian.net/browse/EVEREST-1315): Despite Percona Everest showing a successful upgrade message, the upgrade actually didn't go as planned. The issue has been resolved now.

- [EVEREST-1323](https://perconadev.atlassian.net/browse/EVEREST-1323):We've resolved the issue that was causing an error to appear on the **Components** page after creating databases, especially when the status was either **initializing** or **up**.

- [EVEREST-1354](https://perconadev.atlassian.net/browse/EVEREST-1354): We've resolved an issue related to an incorrect allocation of CPU and memory resources for PXC clusters. To apply these new settings, a database restart is required.

- [EVEREST-1371](https://perconadev.atlassian.net/browse/EVEREST-1371): We've addressed a couple of issues pertaining to the **Monitoring** page, one of them being the monitoring endpoint displaying the **username** instead of the **endpoint** name.


- [EVEREST-1372](https://perconadev.atlassian.net/browse/EVEREST-1372): We’ve resolved the issue that prevented us from deleting the monitoring endpoint that is not currently in use.

- [EVEREST-1375](https://perconadev.atlassian.net/browse/EVEREST-1375): The upgrade to PXC operator 1.15.0 caused a restart of the databases. We have resolved the issue now.

- [EVEREST-1427](https://perconadev.atlassian.net/browse/EVEREST-1427) -
PostgreSQL no longer gets stuck in an unknown state despite having duplicate backup storage in different namespaces.

1 change: 1 addition & 0 deletions docs/release-notes/release_notes_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

- [Percona Everest 1.2.0 (2024-09-12)](Percona-Everest-1.2.0-(2024-09-12).md)
- [Percona Everest 1.1.1 (2024-08-22)](Percona-Everest-1.1.1-(2024-08-22).md)
- [Percona Everest 1.2.0 (2024-09-12)](Percona-Everest-1.2.0-(2024-09-12).md)
- [Percona Everest 1.1.0 (2024-08-12)](Percona-Everest-1.1.0-(2024-08-12).md)
- [Percona Everest 1.0.1 (2024-07-08)](Percona-Everest-1.0.1-(2024-07-08).md)
- [Percona Everest 1.0.0 (2024-06-28)](Percona-Everest-1.0.0-(2024-06-28).md)
Expand Down
Loading
Loading