KubeOS/0001-fix-Fix-some-spelling-errors-in-docs.patch

62 lines
3.0 KiB
Diff
Raw Normal View History

From e44e963748c8f2c19bd95383074c49fe35110ac2 Mon Sep 17 00:00:00 2001
From: weihao <weihao_yewu@cmss.chinamobile.com>
Date: Wed, 27 Nov 2024 09:45:45 +0800
Subject: [PATCH 01/11] fix: Fix some spelling errors in docs
---
docs/quick-start.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/quick-start.md b/docs/quick-start.md
index 1d59048e..da379062 100644
--- a/docs/quick-start.md
+++ b/docs/quick-start.md
@@ -163,7 +163,7 @@
* 使用kubernetes的声明式API进行配置,部署CRDCustomResourceDefinitionoperatorproxy以及rbac机制的YAML需要用户自行编写
* YAML举例说明模板参见本目录下example文件夹下的文件夹你也可以将config文件夹拷贝到docs上一级目录并进行简单的修改使用
* 这些YAML配置文件由K8s集群管理员加载如果恶意在yaml文件里面写了病毒K8s集群管理员如果放行传到我们的处理模块我们也是没有办法校验的此处有风险
- * operator和proxy部署在kubernets集群中operator应部署为deploymentproxy应部署为damonset
+ * operator和proxy部署在kubernetes集群中operator应部署为deploymentproxy应部署为damonset
* 尽量部署好k8s的安全措施如rbac机制pod的service account和security policy配置等。**注意**operator所在容器仅需要普通用户权限运行proxy所在容器需要root权限运行以访问worker节点上的os-agent.sock但是可以drop全部的capabilities
```yaml
@@ -345,7 +345,7 @@
version: edit.os.version
configs:
- model: kernel.sysctl
- contents:
+ contents:
- key: kernel param key1
value: kernel param value1
- key: kernel param key2
@@ -361,7 +361,7 @@
version: 1.0.0
configs:
- model: kernel.sysctl
- contents:
+ contents:
- key: kernel param key4
value: kernel param value4
```
@@ -536,7 +536,7 @@
apiVersion: upgrade.openeuler.org/v1alpha1
kind: OS
metadata:
- name: os-sample
+ name: os-sample
spec:
imagetype: ""
opstype: rollback
@@ -728,7 +728,7 @@ hostshell
#### kernel Settings
-* kenerl.sysctl临时设置内核参数重启后无效key/value 表示内核参数的 key/value key与value均不能为空且key不能包含“=”该参数不支持删除操作operation=delete示例如下:
+* kernel.sysctl临时设置内核参数重启后无效key/value 表示内核参数的 key/value key与value均不能为空且key不能包含“=”该参数不支持删除操作operation=delete示例如下:
```yaml
configs:
--
2.39.5 (Apple Git-154)