Skip to content

Commit

Permalink
fix: handle non-trivial apiVersion correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Sep 30, 2021
1 parent a41e42b commit acbc097
Show file tree
Hide file tree
Showing 3 changed files with 118,822 additions and 25,642 deletions.
10 changes: 10 additions & 0 deletions examples/kubeval-simple/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ spec:
ports:
- containerPort: 80
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: default
name: pod-reader
rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list"]
---
apiVersion: example.com/v1
kind: MyCustom
metadata:
Expand Down
Loading

0 comments on commit acbc097

Please sign in to comment.