mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
- Change in namespace for test-generate example - Change cloneResource to cloneSourceResource - Add support for namespaced Policy and fix log messages - Add test-generate in Makefile and an example of namespaced Policy - Fix namespaced policy issue and add comments - Refactor according to new generate controller - Add json tag to GeneratedResource field of RuleResponse struct Signed-off-by: Shubham Nazare <shubham4443@gmail.com> Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com> Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
14 lines
No EOL
256 B
YAML
14 lines
No EOL
256 B
YAML
apiVersion: v1
|
|
kind: LimitRange
|
|
metadata:
|
|
name: default-limitrange
|
|
namespace: hello-world-namespace
|
|
spec:
|
|
limits:
|
|
- default:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
defaultRequest:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
type: Container |