flavio / rust-policy-template

A Kubewarden rust policy template to be used with cargo-generate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please, note well: this file and the scaffold were generated from a template. Make this project yours!

You can use cargo generate -g https://github.com/kubewarden/rust-policy-template.git to create your Policy from this template.

Kubewarden policy {{project-name}}

Description

This policy will reject pods that have a name invalid-pod-name. If the pod to be validated has a different name, or if a different type of resource is evaluated, it will be accepted.

Settings

This policy has no configurable settings. This would be a good place to document if yours does, and what behaviors can be configured by tweaking them.

License

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.

About

A Kubewarden rust policy template to be used with cargo-generate

License:Apache License 2.0


Languages

Language:Rust 64.6%Language:Makefile 22.0%Language:Shell 13.4%