1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-13 15:57:31 +00:00
kyverno/test/cli/test/deny-modify-platform-label-2/resource.yaml
Charles-Edouard Brétéché 14ab6b72a2
fix: Kyverno variable substitution might not work correctly if the top level variable key contains dots (#8377)
* fix: Kyverno variable substitution might not work correctly if the top level variable key contains dots

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-09-13 14:04:39 +00:00

35 lines
563 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: my-role-with-platform
rules:
- apiGroups:
- ""
resources:
- services
verbs:
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: my-role-without-platform
rules:
- apiGroups:
- ""
resources:
- services
verbs:
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: my-role-with-platform-false
rules:
- apiGroups:
- ""
resources:
- services
verbs:
- watch