File tree Expand file tree Collapse file tree 5 files changed +12
-21
lines changed
apis/vpcresources/v1beta1 Expand file tree Collapse file tree 5 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ type SecurityGroupPolicySpec struct {
3030type GroupIds struct {
3131 // Groups is the list of EC2 Security Groups Ids that need to be applied to the ENI of a Pod.
3232 // +kubebuilder:validation:MinItems=1
33- // +kubebuilder:validation:MaxItems=5
3433 Groups []string `json:"groupIds,omitempty"`
3534}
3635
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.14 .0
6+ controller-gen.kubebuilder.io/version : v0.18 .0
77 name : cninodes.vpcresources.k8s.aws
88spec :
99 group : vpcresources.k8s.aws
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.14 .0
6+ controller-gen.kubebuilder.io/version : v0.18 .0
77 name : securitygrouppolicies.vpcresources.k8s.aws
88spec :
99 group : vpcresources.k8s.aws
@@ -105,7 +105,6 @@ spec:
105105 need to be applied to the ENI of a Pod.
106106 items :
107107 type : string
108- maxItems : 5
109108 minItems : 1
110109 type : array
111110 type : object
Original file line number Diff line number Diff line change @@ -12,19 +12,11 @@ rules:
1212 - create
1313 - patch
1414 - update
15- - apiGroups :
16- - " "
17- resources :
18- - pods
19- verbs :
20- - get
21- - list
22- - patch
23- - watch
2415- apiGroups :
2516 - " "
2617 resources :
2718 - nodes
19+ - serviceaccounts
2820 verbs :
2921 - get
3022 - list
@@ -39,10 +31,11 @@ rules:
3931- apiGroups :
4032 - " "
4133 resources :
42- - serviceaccounts
34+ - pods
4335 verbs :
4436 - get
4537 - list
38+ - patch
4639 - watch
4740- apiGroups :
4841 - crd.k8s.amazonaws.com
@@ -80,21 +73,21 @@ metadata:
8073 namespace : kube-system
8174rules :
8275- apiGroups :
83- - apps
76+ - " "
8477 resourceNames :
85- - vpc-resource-controller
78+ - amazon- vpc-cni
8679 resources :
87- - deployments
80+ - configmaps
8881 verbs :
8982 - get
9083 - list
9184 - watch
9285- apiGroups :
93- - " "
86+ - apps
9487 resourceNames :
95- - amazon- vpc-cni
88+ - vpc-resource-controller
9689 resources :
97- - configmaps
90+ - deployments
9891 verbs :
9992 - get
10093 - list
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ main() {
1111
1212tools () {
1313 go install sigs.k8s.io/controller-runtime/tools/
[email protected] 14- go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14 .0
14+ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.18 .0
1515 go install github.com/google/ko@latest
1616
1717 if ! echo " $PATH " | grep -q " ${GOPATH:- undefined} /bin\|$HOME /go/bin" ; then
You can’t perform that action at this time.
0 commit comments