tencentcloud-sdk-nodejs-tke 4.1.131 → 4.1.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tke",
3
- "version": "4.1.131",
3
+ "version": "4.1.134",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -3206,7 +3206,7 @@ export interface UpdateClusterVersionRequest {
3206
3206
  */
3207
3207
  export interface ModifyOpenPolicyListRequest {
3208
3208
  /**
3209
- * 集群ID
3209
+ * 集群ID,请从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
3210
3210
  */
3211
3211
  ClusterId: string;
3212
3212
  /**
@@ -10346,7 +10346,63 @@ export interface OpenPolicySwitch {
10346
10346
  */
10347
10347
  Name: string;
10348
10348
  /**
10349
- * 策略模板类型
10349
+ * 策略模板类型,可选值:
10350
+ 优选策略:
10351
+ blocknamespacedeletion:存在pod的命名空间不允许删除
10352
+ blockcrddeletion:存在cr的crd不允许删除
10353
+ blockmountablevolumetype:禁止挂载指定的volume类型
10354
+ disallowalwayspullimage:禁止镜像拉取策略使用Always
10355
+ tkeallowedrepos:容器镜像来源限制
10356
+ blockunknowndaemonset:禁止未知的DaemonSet部署
10357
+ blockpvdeletion:PV处于绑定状态则不允许删除
10358
+ corednsprotect:CoreDNS组件删除保护
10359
+ blockschedulablenodedelete:非封锁状态的Node不允许删除
10360
+ resourcesdeletionprotection:资源删除保护
10361
+ tkeenirequest:弹性网卡资源配置限制
10362
+ blockworkloadcrossversionupgrade:工作负载镜像版本升级策略管控
10363
+ blockserviceaccountgranthighprivilegepermission:ServiceAccount权限管控
10364
+ blockclusteripserviceexist:不允许Service为ClusterIP类型
10365
+ blockinternetaccess:禁止公网访问
10366
+ assign:禁止访问Metadata Server
10367
+ blockhostnetworkpod:禁止创建HostNetwork类型Pod
10368
+
10369
+ 可选策略:
10370
+ blockvolumemountpath:禁止容器挂载指定的目录
10371
+ k8sallowedrepos:容器镜像必须以指定字符串列表中的字符串开头
10372
+ k8sblockendpointeditdefaultrole:禁止默认ClusterRole修改Endpoints
10373
+ k8sblockloadbalancer:不允许Service为LoadBalancer类型
10374
+ k8sblocknodeport:不允许Service为NodePort类型
10375
+ k8sblockwildcardingress:禁止ingress配置空白或通配符类型的hostname
10376
+ k8scontainerlimits:限制容器必须设置CPU和内存Limit
10377
+ k8scontainerratios:限制CPU和内存的Request与Limit的最大比率
10378
+ k8scontainerrequests:限制CPU和内存的Request必须设置且小于配置的最大值
10379
+ k8srequiredresources:必须配置内存的Limit,CPU和内存的Request
10380
+ k8sdisallowanonymous:不允许将白名单以外的ClusterRole和Role关联到system:anonymous User和system:unauthenticated Group
10381
+ k8sdisallowedtags:约束容器镜像tag
10382
+ k8sexternalips:限制服务externalIP仅为允许的IP地址列表
10383
+ k8simagedigests:容器镜像必须包含digest
10384
+ noupdateserviceaccount:拒绝白名单外的资源更新ServiceAccount
10385
+ k8sreplicalimits:要求具有spec.replicas字段的对象(Deployments、ReplicaSets等)在定义的范围内
10386
+ k8srequiredannotations:要求资源包含指定的annotations,其值与提供的正则表达式匹配
10387
+ k8srequiredlabels:要求资源包含指定的标签,其值与提供的正则表达式匹配
10388
+ k8srequiredprobes:要求Pod具有Readiness或Liveness Probe
10389
+ k8spspautomountserviceaccounttokenpod:约束容器不能设置automountServiceAccountToken为true
10390
+ k8spspallowprivilegeescalationcontainer:约束PodSecurityPolicy中的allowPrivilegeEscalation字段为false
10391
+ k8spspapparmor:约束AppArmor字段列表
10392
+ k8spspcapabilities:限制PodSecurityPolicy中的allowedCapabilities和requiredDropCapabilities字段
10393
+ k8spspflexvolumes:约束PodSecurityPolicy中的allowedFlexVolumes字段类型
10394
+ k8spspforbiddensysctls:约束PodSecurityPolicy中的sysctls字段不能使用的name
10395
+ k8spspfsgroup:控制PodSecurityPolicy中的fsGroup字段在限制范围内
10396
+ k8spsphostfilesystem:约束PodSecurityPolicy中的hostPath字段的参数
10397
+ k8spsphostnamespace:限制PodSecurityPolicy中的hostPID和hostIPC字段
10398
+ k8spsphostnetworkingports:约束PodSecurityPolicy中的hostNetwork和hostPorts字段
10399
+ k8spspprivilegedcontainer:禁止PodSecurityPolicy中的privileged字段为true
10400
+ k8spspprocmount:约束PodSecurityPolicy中的allowedProcMountTypes字段
10401
+ k8spspreadonlyrootfilesystem:约束PodSecurityPolicy中的readOnlyRootFilesystem字段
10402
+ k8spspseccomp:约束PodSecurityPolicy上的seccomp.security.alpha.kubernetes.io/allowedProfileNames注解
10403
+ k8spspselinuxv2:约束Pod定义SELinux配置的允许列表
10404
+ k8spspallowedusers:约束PodSecurityPolicy中的runAsUser、runAsGroup、supplementalGroups和fsGroup字段
10405
+ k8spspvolumetypes:约束PodSecurityPolicy中的volumes字段类型
10350
10406
  */
10351
10407
  Kind: string;
10352
10408
  /**