Skip to content

Commit 783c29d

Browse files
committed
Role
1 parent e929dc1 commit 783c29d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Kubernetes Role.sublime-snippet

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<snippet>
2+
<content><![CDATA[
3+
apiVersion: rbac.authorization.k8s.io/v1beta1
4+
kind: Role
5+
metadata:
6+
namespace: default
7+
name: ${1:roleName}
8+
rules:
9+
- apiGroups: [""]
10+
resources: ["nodes"]
11+
verbs: ["get", "list", "watch"]
12+
]]></content>
13+
<tabTrigger>k8s:role</tabTrigger>
14+
<scope>source.yaml</scope>
15+
<description>Kubernetes Role</description>
16+
</snippet>

0 commit comments

Comments
 (0)