kubewarden/rust-policy-template

GitHub: kubewarden/rust-policy-template

这是一个基于cargo-generate的Kubewarden策略模板,用于快速生成Rust语言的WebAssembly准入控制代码脚手架。

Stars: 9 | Forks: 9

[![Stable](https://img.shields.io/badge/status-stable-brightgreen?style=for-the-badge)](https://github.com/kubewarden/community/blob/main/REPOSITORIES.md#stable) 请注意:此文件和脚手架是从[模板](https://github.com/kubewarden/rust-policy-template)生成的。让这个项目成为你自己的项目! 你可以使用 `cargo generate -g https://github.com/kubewarden/rust-policy-template.git` 从该模板创建你的 Policy。 # Kubewarden 策略 {{project-name}} ## 描述 此 Policy 将拒绝名称为 `invalid-pod-name` 的 pods。如果待验证的 pod 具有不同的名称,或者评估的是不同类型的资源,则该请求将被接受。 ## 设置 此 Policy 没有可配置的设置。如果你的 Policy 有可配置的设置,这里将是记录它们以及通过调整它们可以配置哪些行为的好地方。 ## 许可证 ``` Copyright (C) 2021 {{authors}} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```
标签:AI工具, Cargo, DevSecOps, DNS解析, Kubewarden, OPA替代, Pod验证, RDF, Rust, WebAssembly, Web截图, 上游代理, 可视化界面, 子域名突变, 安全策略, 容器安全, 开源项目, 提示词设计, 策略模板, 网络流量审计, 脚手架, 通知系统