Skip to content

Commit 5390ab5

Browse files
committed
upgrade CAPI to v0.4.0-beta.0
1 parent 58fb822 commit 5390ab5

File tree

13 files changed

+143
-355
lines changed

13 files changed

+143
-355
lines changed

config/default/kustomization.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ patchesStrategicMerge:
1919
# Provide customizable hook for make targets.
2020
- manager_image_patch.yaml
2121
- manager_pull_policy.yaml
22-
# Protect the /metrics endpoint by putting it behind auth.
23-
# Only one of manager_auth_proxy_patch.yaml and
24-
# manager_prometheus_metrics_patch.yaml should be enabled.
25-
- manager_auth_proxy_patch.yaml
2622
# Enable webhook.
2723
- manager_webhook_patch.yaml
2824
# Inject certificate in the webhook definition.

config/default/manager_auth_proxy_patch.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

config/manager/manager.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ spec:
2121
- /manager
2222
args:
2323
- "--leader-elect"
24-
- "--metrics-bind-addr=127.0.0.1:8080"
2524
- "--v=2"
2625
image: controller:latest
2726
imagePullPolicy: Always

config/rbac/auth_proxy_role.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

config/rbac/auth_proxy_role_binding.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

config/rbac/auth_proxy_service.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

config/rbac/kustomization.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ resources:
66
- service_account.yaml
77
- leader_election_role.yaml
88
- leader_election_role_binding.yaml
9-
- auth_proxy_service.yaml
10-
- auth_proxy_role.yaml
11-
- auth_proxy_role_binding.yaml

go.mod

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@ require (
66
github.com/go-logr/logr v0.4.0
77
github.com/gophercloud/gophercloud v0.16.0
88
github.com/gophercloud/utils v0.0.0-20210323225332-7b186010c04f
9-
github.com/onsi/ginkgo v1.16.1
10-
github.com/onsi/gomega v1.11.0
9+
github.com/onsi/ginkgo v1.16.4
10+
github.com/onsi/gomega v1.13.0
1111
github.com/pkg/errors v0.9.1
12-
github.com/prometheus/client_golang v1.9.0
12+
github.com/prometheus/client_golang v1.11.0
1313
github.com/spf13/pflag v1.0.5
1414
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
1515
gopkg.in/ini.v1 v1.62.0
16-
k8s.io/api v0.21.0
17-
k8s.io/apimachinery v0.21.0
18-
k8s.io/client-go v0.21.0
19-
k8s.io/component-base v0.21.0
20-
k8s.io/klog/v2 v2.8.0
21-
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10
22-
sigs.k8s.io/cluster-api v0.3.11-0.20210506151717-6dda08f83614
23-
sigs.k8s.io/controller-runtime v0.9.0-beta.1
16+
k8s.io/api v0.21.1
17+
k8s.io/apimachinery v0.21.1
18+
k8s.io/client-go v0.21.1
19+
k8s.io/component-base v0.21.1
20+
k8s.io/klog/v2 v2.9.0
21+
k8s.io/utils v0.0.0-20210527160623-6fdb442a123b
22+
sigs.k8s.io/cluster-api v0.4.0-beta.0
23+
sigs.k8s.io/cluster-api/test v0.4.0-beta.0
24+
sigs.k8s.io/controller-runtime v0.9.0
2425
sigs.k8s.io/yaml v1.2.0
2526
)
27+
28+
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v0.4.0-beta.0

go.sum

Lines changed: 110 additions & 239 deletions
Large diffs are not rendered by default.

hack/tools/go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ require (
1212
github.com/onsi/ginkgo v1.16.1
1313
github.com/onsi/gomega v1.11.0 // indirect
1414
k8s.io/apiextensions-apiserver v0.21.0 // indirect
15-
k8s.io/code-generator v0.21.0
16-
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10 // indirect
15+
k8s.io/code-generator v0.21.1
1716
sigs.k8s.io/cluster-api/hack/tools v0.0.0-20210402170612-77093e2350cd
1817
sigs.k8s.io/controller-tools v0.5.0
19-
sigs.k8s.io/kind v0.10.0
18+
sigs.k8s.io/kind v0.11.0
2019
sigs.k8s.io/kustomize/kustomize/v4 v4.1.2
2120
)

0 commit comments

Comments
 (0)