From 0010ff9cdd2f0ebadab9bd07c5e275e1a8cfd54a Mon Sep 17 00:00:00 2001 From: Edith Puclla <58795858+edithturn@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:37:54 +0000 Subject: [PATCH 1/2] Update Section Validate your RBAC policy with YAML Validation Update Section Validate your RBAC policy with the YAML validation format example --- docs/administer/rbac.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/administer/rbac.md b/docs/administer/rbac.md index ac36ecacb..5041a2c6e 100644 --- a/docs/administer/rbac.md +++ b/docs/administer/rbac.md @@ -508,6 +508,12 @@ Where: Yes ``` +Use the same command with the YAML file path for YAML file validation. For example: +```sh +everestctl settings rbac validate --policy-file ./rbac-config.yaml +``` + + ## Breaking API changes for RBAC Starting from Percona Everest v1.2.0, breaking changes are being implemented to the API for `monitoring-instances` and `backup-storages `resources. Explore further by checking out the section on [Breaking API changes](../api_rbac.md) for a deep dive into this topic. From 7dda2b84db6059911dfe0b88417c80d6980a3b35 Mon Sep 17 00:00:00 2001 From: Edith Puclla <58795858+edithturn@users.noreply.github.com> Date: Mon, 18 Nov 2024 09:41:20 +0000 Subject: [PATCH 2/2] Update docs/administer/rbac.md Thank you, Mayank! Co-authored-by: Mayank Shah --- docs/administer/rbac.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administer/rbac.md b/docs/administer/rbac.md index 5041a2c6e..1fa85bc90 100644 --- a/docs/administer/rbac.md +++ b/docs/administer/rbac.md @@ -508,7 +508,7 @@ Where: Yes ``` -Use the same command with the YAML file path for YAML file validation. For example: +Use the same command with the YAML file path containing the `everest-rbac` ConfigMap. For example: ```sh everestctl settings rbac validate --policy-file ./rbac-config.yaml ```