Skip to content

Commit 6f40b0d

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

14 files changed

+147
-359
lines changed

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackmachines.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ spec:
337337
to the Machine object and/or logged in the controller's output."
338338
type: string
339339
errorReason:
340-
description: Constants aren't automatically generated for unversioned
341-
packages. Instead share the same constant for all versioned packages.
340+
description: MachineStatusError defines errors states for Machine
341+
objects.
342342
type: string
343343
instanceState:
344344
description: InstanceState is the state of the OpenStack instance
@@ -720,8 +720,8 @@ spec:
720720
to the Machine object and/or logged in the controller's output."
721721
type: string
722722
errorReason:
723-
description: Constants aren't automatically generated for unversioned
724-
packages. Instead share the same constant for all versioned packages.
723+
description: MachineStatusError defines errors states for Machine
724+
objects.
725725
type: string
726726
instanceState:
727727
description: InstanceState is the state of the OpenStack instance

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

0 commit comments

Comments
 (0)