1 unstable release
0.1.0 | Aug 29, 2024 |
---|
#315 in Template engine
11KB
173 lines
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 demo
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 Campos, Miguel {FIRO~Madrid-Josefa Valcarcel} <miguel.campos@roche.com>
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.
Dependencies
~49MB
~735K SLoC