OpenShift Container Platform 4.8 Service Mesh
OpenShift Service Mesh 处理 URI 片段的方式改变 Red Hat OpenShift Service Mesh 包含一个可远程利用的漏洞 CVE-2021-39156,其中 HTTP 请求带有片 段(以 # 字符开头的 URI 末尾的一个部分),您可以绕过 Istio URI 基于路径的授权策略。例如,Istio 授 权策略拒绝发送到 URI 路径 /user/profile 的请求。在存在安全漏洞的版本中,带有 的请求。在存在安全漏洞的版本中,带有 URI 路径 /user/profile#section1 的请求绕过拒绝策略并路由到后端(通过规范的 URI path /user/profile%23section1),可能会导致安全事件。 如果您使用带有 DENY 操作和 operation.paths 的授权策略,或者 ALLOW 操作和 operation.notPaths,则会受到此漏洞的影响。 在这个版本中,在授权和路由前会删除请求的 URI 片段部分。这可以防止其 URI 中带有片段的请求绕过基 于 URI 且没有片段部分的授权策略。 要从缓解措施中的新行为中选择,将保留 URI 的片段部分。您可以将 ServiceMeshControlPlane 配置为 保留 URI 片段。 警告 警告 如前文所述,禁用新行为将对路径进行规范化,并被视为不安全。在选择保留 URI 片 段之前,确保您已将这些内容放入任何安全策略中。0 码力 | 344 页 | 3.04 MB | 1 年前3OpenShift Container Platform 4.10 专用硬件和驱动程序启用
Platform 版本的相关的正确 driver toolki 镜 像替换 "DRIVER_TOOLKIT_IMAGE" 部分。 git: ref: "master" uri: "https://github.com/openshift-psap/kvc-simple-kmod.git" type: Git dockerfile: | FROM 内核模块。 a. 创建 templates 目录,并更改到此目录: b. 将镜像流和构建配置的 YAML 模板保存到 templates 目录中的 0000-buildconfig.yaml 中: $ mkdir -p chart/simple-kmod-0.0.1/templates $ cd chart/simple-kmod-0.0.1/templates apiVersion: image Values.specialresource.spec.driverContainer.source.git.ref}} uri: {{.Values.specialresource.spec.driverContainer.source.git.uri}} type: Git strategy: dockerStrategy: dockerfilePath:0 码力 | 36 页 | 360.64 KB | 1 年前3OpenShift Container Platform 4.8 CLI 工具
ruby-container logs from pod backend oc logs -f pod/backend -c ruby-container # List all local templates and image streams that can be used to create an app oc new-app --list # Create an application --param=MYSQL_USER=admin # Search all templates, image streams, and Docker images for the ones that match "ruby" oc new-app --search ruby # Search for "ruby", but only in stored templates (--template, --image-stream to filter search results) oc new-app --search --template=ruby # Search for "ruby" in stored templates and print the output as YAML oc new-app --search --template=ruby --output=yaml # Create a build0 码力 | 152 页 | 1.24 MB | 1 年前3Apache Karaf Container 4.x - Documentation
SystemMBean 4.4. Integration in the operating system 4.4.1. Service Wrapper 4.4.2. Service Script Templates 4.5. Using the console 4.5.1. Available commands 4.5.2. Subshell and completion mode 4.5.3. org/schema/blueprint">uri="timer://test?fixedRate=true&period=2000" /> Message at ${date:now:yyyy-MM-dd HH:mm:ss} uri="log:test" /> 0 码力 | 370 页 | 1.03 MB | 1 年前3Apache Karaf Decanter 1.x - Documentation
apache.org/schema/blueprint">uri="timer:fire?period=10000"/> Hello World uri="log:test"/> 0 码力 | 67 页 | 213.16 KB | 1 年前3Apache Karaf Decanter 2.x - Documentation
uri="timer:fire?period=10000"/> Hello World uri="log:test"/> 0 码力 | 64 页 | 812.01 KB | 1 年前3OpenShift Container Platform 4.13 认证和授权
以下示例警告缺少正确 OAuth 重定向 URI 的服务帐户: 输 输出示例 出示例 运行 oc describe sa/可以报告与给定服务帐户名称关联的任何 OAuth 事 件。 输 输出示例 出示例 下方列出可能的事件错误: 无重定向 无重定向 URI 注解或指定了无效的 注解或指定了无效的 URI $ oc get events | grep redirectURIs; set serviceaccounts.openshift.io/oauth- redirecturi. = or create a dynamic URI using serviceaccounts.openshift.io/oauth-redirectreference. = $ oc describe redirectURIs; set serviceaccounts.openshift.io/oauth-redirecturi. = or create a dynamic URI using serviceaccounts.openshift.io/oauth-redirectreference. = Reason 0 码力 | 201 页 | 2.74 MB | 1 年前3OpenShift Container Platform 4.4 构建(build)
generic: secret: "secret101" - type: "ImageChange" source: 4 git: uri: "https://github.com/openshift/ruby-hello-world" strategy: 5 sourceStrategy: from: contextDir 之外的输入内容。 以下源定义示例包括多种输入类型,以及它们如何组合的说明。如需有关如何定义各种输入类型的更多详 细信息,请参阅每种输入类型的具体小节。 source: git: uri: https://github.com/openshift/ruby-hello-world.git 1 images: - from: kind: ImageStreamTag -y httpd" 4 source: dockerfile: "FROM centos:7\nRUN yum install -y httpd" 1 source: git: uri: https://github.com/openshift/ruby-hello-world.git images: 1 - from: 2 kind: ImageStreamTag0 码力 | 101 页 | 1.12 MB | 1 年前3OpenShift Container Platform 4.13 CI/CD
generic: secret: "secret101" - type: "ImageChange" source: 4 git: uri: "https://github.com/openshift/ruby-hello-world" strategy: 5 sourceStrategy: from: 3.2. Dockerfile 源 提供 dockerfile 值时,此字段的内容将写到磁盘上,存为名为 Dockerfile 的文件。这是处理完其他输入 source: git: uri: https://github.com/openshift/ruby-hello-world.git 1 ref: "master" images: - from: kind: 源/目标路径的数组。 source: dockerfile: "FROM centos:7\nRUN yum install -y httpd" 1 source: git: uri: https://github.com/openshift/ruby-hello-world.git ref: "master" images: 1 - from: 20 码力 | 129 页 | 1.37 MB | 1 年前3OpenShift Container Platform 4.8 安装
appId 参数值。 b. 要分配 Azure Active Directory Graph 权限,请运行以下命令: Changing "" to a valid URI of "http:// ", which is the required format used for service principal names Retrying create-for-rbac --role Contributor --name 1 Changing " " to a valid URI of "http:// ", which is the required format used for service principal names Retrying --account-key ${ACCOUNT_KEY} --destination-blob "rhcos.vhd" --destination-container vhd --source-uri "${VHD_URL}" $ az storage container create --name files --account-name ${CLUSTER_NAME}sa -- account-key 0 码力 | 2586 页 | 27.37 MB | 1 年前3
共 256 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26