Commit 3191362
committed
Simplify DataImportCron ServiceAccount authorization
Add ServiceAccountName to DataImportCron spec, replacing CreatedBy
which was added in #3946.
In case of DataImportCron with PVC source, the controller checks the
ServiceAccount is authorized to clone the source PVC.
Signed-off-by: Arnon Gilboa <[email protected]>1 parent a19c17e commit 3191362
File tree
20 files changed
+55
-399
lines changed- api/openapi-spec
- pkg
- apiserver
- webhooks
- apis/core/v1beta1
- controller
- operator
- controller
- resources
- cluster
- operator
- staging/src/kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1
- tests
20 files changed
+55
-399
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4377 | 4377 | | |
4378 | 4378 | | |
4379 | 4379 | | |
4380 | | - | |
4381 | | - | |
4382 | | - | |
4383 | | - | |
4384 | 4380 | | |
4385 | 4381 | | |
4386 | 4382 | | |
| |||
4404 | 4400 | | |
4405 | 4401 | | |
4406 | 4402 | | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
4407 | 4407 | | |
4408 | 4408 | | |
4409 | 4409 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
216 | 214 | | |
217 | 215 | | |
218 | 216 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | 217 | | |
225 | 218 | | |
226 | 219 | | |
| |||
563 | 556 | | |
564 | 557 | | |
565 | 558 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | 559 | | |
572 | 560 | | |
573 | 561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | | - | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | 164 | | |
185 | 165 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 151 | | |
160 | 152 | | |
161 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 94 | | |
100 | 95 | | |
101 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments