Skip to content

Commit

Permalink
fix permissions for eniconfig CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthvn authored and mogren committed Jul 10, 2020
1 parent d070fca commit 3c20ff4
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 5 deletions.
12 changes: 11 additions & 1 deletion config/master/aws-k8s-cni-cn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
- "list"
- "watch"
- "apiGroups":
- "discovery.k8s.io"
- ""
"resources":
- "pods"
- "nodes"
- "namespaces"
"verbs":
- "list"
- "watch"
- "get"
- "apiGroups":
- "extensions"
"resources":
- "*"
"verbs":
Expand Down
12 changes: 11 additions & 1 deletion config/master/aws-k8s-cni-us-gov-east-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
- "list"
- "watch"
- "apiGroups":
- "discovery.k8s.io"
- ""
"resources":
- "pods"
- "nodes"
- "namespaces"
"verbs":
- "list"
- "watch"
- "get"
- "apiGroups":
- "extensions"
"resources":
- "*"
"verbs":
Expand Down
12 changes: 11 additions & 1 deletion config/master/aws-k8s-cni-us-gov-west-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
- "list"
- "watch"
- "apiGroups":
- "discovery.k8s.io"
- ""
"resources":
- "pods"
- "nodes"
- "namespaces"
"verbs":
- "list"
- "watch"
- "get"
- "apiGroups":
- "extensions"
"resources":
- "*"
"verbs":
Expand Down
12 changes: 11 additions & 1 deletion config/master/aws-k8s-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
- "list"
- "watch"
- "apiGroups":
- "discovery.k8s.io"
- ""
"resources":
- "pods"
- "nodes"
- "namespaces"
"verbs":
- "list"
- "watch"
- "get"
- "apiGroups":
- "extensions"
"resources":
- "*"
"verbs":
Expand Down
7 changes: 6 additions & 1 deletion config/master/manifests.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ local awsnode = {
verbs: ["get", "list", "watch"],
},
{
apiGroups: ["discovery.k8s.io"],
apiGroups: [""],
resources: ["pods", "nodes", "namespaces"],
verbs: ["list", "watch", "get"],
},
{
apiGroups: ["extensions"],
resources: ["*"],
verbs: ["list", "watch"],
}
Expand Down

0 comments on commit 3c20ff4

Please sign in to comment.