File tree Expand file tree Collapse file tree 6 files changed +18
-30
lines changed
Expand file tree Collapse file tree 6 files changed +18
-30
lines changed Original file line number Diff line number Diff line change 2929 uses : actions/setup-go@v3
3030 with :
3131 go-version : ${{ env.GO_VERSION }}
32+ - name : Setup protoc
33+ run : |
34+ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.5/protoc-3.19.5-linux-x86_64.zip
35+ unzip protoc-3.19.5-linux-x86_64.zip -d protoc3
3236 - name : Cache Go Dependencies
3337 uses : actions/cache@v2
3438 with :
3741 restore-keys : ${{ runner.os }}-go-
3842 - name : Run Unit Tests
3943 run : |
44+ export PATH="$PATH:$(pwd)/protoc3/bin"
45+ echo $PATH
4046 make test
47+ rm -rf protoc-3.19.5-linux-x86_64.zip
48+ rm -rf protoc3
4149 git status
4250# TODO: enable after public
4351# - name: Publish Unit Test Coverage
Original file line number Diff line number Diff line change 1-
21---
32apiVersion : apiextensions.k8s.io/v1
43kind : CustomResourceDefinition
54metadata :
65 annotations :
7- controller-gen.kubebuilder.io/version : v0.7 .0
6+ controller-gen.kubebuilder.io/version : v0.10 .0
87 creationTimestamp : null
98 name : circuitbreakers.kridge.kusionstack.io
109spec :
10099 type : array
101100 resources :
102101 description : Resources is a list of resources this rule
103- applies to. "*" means all in the specified apiGroups. "*/foo"
104- represents the subresource 'foo' for all resources in
105- the specified apiGroups.
102+ applies to. "*" means all in the specified apiGroups.
103+ " */foo " represents the subresource 'foo' for all resources
104+ in the specified apiGroups.
106105 items :
107106 type : string
108107 type : array
@@ -205,6 +204,7 @@ spec:
205204 " value" . The requirements are ANDed.
206205 type : object
207206 type : object
207+ x-kubernetes-map-type : atomic
208208 targets :
209209 items :
210210 type : string
@@ -313,9 +313,3 @@ spec:
313313 storage : true
314314 subresources :
315315 status : {}
316- status :
317- acceptedNames :
318- kind : " "
319- plural : " "
320- conditions : []
321- storedVersions : []
Original file line number Diff line number Diff line change 1-
21---
32apiVersion : apiextensions.k8s.io/v1
43kind : CustomResourceDefinition
54metadata :
65 annotations :
7- controller-gen.kubebuilder.io/version : v0.7 .0
6+ controller-gen.kubebuilder.io/version : v0.10 .0
87 creationTimestamp : null
98 name : managerstates.kridge.kusionstack.io
109spec :
7271 storage : true
7372 subresources :
7473 status : {}
75- status :
76- acceptedNames :
77- kind : " "
78- plural : " "
79- conditions : []
80- storedVersions : []
Original file line number Diff line number Diff line change 1-
21---
32apiVersion : apiextensions.k8s.io/v1
43kind : CustomResourceDefinition
54metadata :
65 annotations :
7- controller-gen.kubebuilder.io/version : v0.7 .0
6+ controller-gen.kubebuilder.io/version : v0.10 .0
87 creationTimestamp : null
98 name : shardingconfigs.kridge.kusionstack.io
109spec :
@@ -110,6 +109,7 @@ spec:
110109 only "value". The requirements are ANDed.
111110 type : object
112111 type : object
112+ x-kubernetes-map-type : atomic
113113 type : object
114114 type : array
115115 root :
@@ -211,6 +211,7 @@ spec:
211211 contains only "value". The requirements are ANDed.
212212 type : object
213213 type : object
214+ x-kubernetes-map-type : atomic
214215 type : object
215216 type : array
216217 size :
@@ -264,6 +265,7 @@ spec:
264265 are ANDed.
265266 type : object
266267 type : object
268+ x-kubernetes-map-type : atomic
267269 webhook :
268270 description : ShardingConfigWebhookConfiguration defines the configuration
269271 of webhook in this application.
@@ -295,9 +297,3 @@ spec:
295297 storage : true
296298 subresources :
297299 status : {}
298- status :
299- acceptedNames :
300- kind : " "
301- plural : " "
302- conditions : []
303- storedVersions : []
Original file line number Diff line number Diff line change 1-
21---
32apiVersion : rbac.authorization.k8s.io/v1
43kind : ClusterRole
Original file line number Diff line number Diff line change 1-
21---
32apiVersion : admissionregistration.k8s.io/v1
43kind : MutatingWebhookConfiguration
@@ -73,7 +72,6 @@ webhooks:
7372 - persistentvolumeclaims
7473 - endpoints
7574 sideEffects : None
76-
7775---
7876apiVersion : admissionregistration.k8s.io/v1
7977kind : ValidatingWebhookConfiguration
You can’t perform that action at this time.
0 commit comments