Skip to content

Commit 1899719

Browse files
authored
fix: Update security best practices doc (#2848)
* fix: Update security best practices doc Signed-off-by: dkwon17 <dakwon@redhat.com> * Update xref Signed-off-by: dkwon17 <dakwon@redhat.com> --------- Signed-off-by: dkwon17 <dakwon@redhat.com>
1 parent 9832907 commit 1899719

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
With this setup, you achieve a curated access to {prod-short},
22
where cluster administrators control provisioning for each user
33
and can explicitly configure various settings including resource limits and quotas.
4-
Learn more about project provisioning in the link:https://eclipse.dev/che/docs/stable/administration-guide/mounting-a-secret-as-a-file-or-an-environment-variable-into-a-container/#mounting-a-secret-or-a-configmap-as-an-environment-variable-into-a-container[product documentation].
4+
Learn more about project provisioning in the xref:administration-guide:provisioning-namespaces-in-advance.adoc[].

modules/administration-guide/pages/security-best-practices.adoc

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ All resources and actions you can grant users permission to use in their {namesp
6060
|"get", "list", "create"
6161

6262
|configmaps
63-
|get", "list", "create", "update", "patch", "delete"
63+
|"get", "list", "create", "update", "patch", "delete"
6464

6565
|events
66-
|watch
66+
|"list", "watch"
6767

6868
|secrets
6969
|"get", "list", "create", "update", "patch", "delete"
@@ -72,10 +72,10 @@ All resources and actions you can grant users permission to use in their {namesp
7272
|"get", "list", "create", "delete", "update", "patch"
7373

7474
|routes
75-
|get", "list", "create", "delete"
75+
|"get", "list", "create", "delete"
7676

7777
|persistentvolumeclaims
78-
|get", "list", "watch", "create", "delete", "update", "patch"
78+
|"get", "list", "watch", "create", "delete", "update", "patch"
7979

8080
|apps/deployments
8181
|"get", "list", "watch", "create", "patch", "delete"
@@ -87,7 +87,7 @@ All resources and actions you can grant users permission to use in their {namesp
8787
|"get", "list"
8888

8989
|projects
90-
|get
90+
|"get"
9191

9292
|devworkspace
9393
|"get", "create", "delete", "list", "update", "patch", "watch"
@@ -215,8 +215,8 @@ spec:
215215

216216
.Resource Quotas and Limit Ranges
217217

218-
Resource Quotas and Limit Ranges are {kubernetes} features you can use to help prevent bad actors or resource abuse within a cluster.
219-
They help in controlling and managing resource consumption by pods and containers.
218+
Resource Quotas and Limit Ranges are {kubernetes} features you can use to help prevent bad actors and resource abuse within a cluster.
219+
Specifically, they allow you to set resource consumption constraints for pods and containers.
220220
By combining Resource Quotas and Limit Ranges,
221221
you can enforce project-specific policies to prevent bad actors from consuming excessive resources.
222222

@@ -227,8 +227,7 @@ More details about link:https://docs.openshift.com/container-platform/4.14/appli
227227

228228
An air-gapped OpenShift disconnected cluster refers to an OpenShift cluster
229229
isolated from the internet or any external network.
230-
This isolation is often done for security reasons,
231-
to protect sensitive or critical systems from potential cyber threats.
230+
This isolation is often done for security reasons to protect sensitive or critical systems from potential cyber threats.
232231
In an air-gapped environment,
233232
the cluster cannot access external repositories or registries to download container images, updates, or dependencies.
234233

@@ -239,7 +238,7 @@ include::example$snip_che-installation-instructions.adoc[]
239238

240239
By default, {prod}
241240
includes the embedded Open VSX registry
242-
which contains a limited set of extensions used by Microsoft Visual Studio Code -
241+
which contains a limited set of extensions for the Microsoft Visual Studio Code -
243242
Open Source editor.
244243
Alternatively, cluster administrators can specify a different plugin registry in the Custom Resource, e.g.
245244
https://open-vsx.org that contains thousands of extensions.

0 commit comments

Comments
 (0)