Commit d2aa44d
Use setup-envtest
Use
https://github.com/kubernetes-sigs/controller-runtime/tree/master/tools/setup-envtest
since we want self-contained test dependencies for our integration tests.
Migrate PROJECT file to kubebuilder v3
see https://kubebuilder.io/migration/manually_migration_guide_v2_v3.html
Delete webhook files
We don't use a webhook in the cluster-operator at the moment.
Therefore delete the files.
If we need a webhook in the future, we can easily re-create the files
using 'kubebuilder create webhook' command.
Rename flag metrics-addr to metrics-bind-address
as described in
https://kubebuilder.io/migration/manually_migration_guide_v2_v3.html#rename-the-manager-flags
and
kubernetes-sigs/kubebuilder#1839
Co-authored-by: Chunyi Lyu <[email protected]>1 parent 9906e49 commit d2aa44d
File tree
16 files changed
+50
-183
lines changed- api/v1beta1
- config
- certmanager
- crd
- bases
- patches
- default/base
- tools
16 files changed
+50
-183
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
7 | 22 | | |
8 | 23 | | |
9 | | - | |
| 24 | + | |
| 25 | + | |
10 | 26 | | |
11 | 27 | | |
12 | | - | |
13 | | - | |
| 28 | + | |
14 | 29 | | |
15 | 30 | | |
16 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
This file was deleted.
0 commit comments