Skip to content

Commit f03f47c

Browse files
vinceprik8s-ci-robot
authored andcommitted
Update controller-{runtime, tools} / Kubernetes 1.12 (#630)
* Update controller-runtime and controller-tools to latest release Signed-off-by: Vince Prignano <[email protected]> * Update Dockerfile golang version to 1.11.2 Signed-off-by: Vince Prignano <[email protected]> * Remove outdated sed from makefile target Signed-off-by: Vince Prignano <[email protected]> * Update crds definition after running latest controller-tools Signed-off-by: Vince Prignano <[email protected]> * Update controller-runtime and tools versions Signed-off-by: Vince Prignano <[email protected]>
1 parent cba244b commit f03f47c

File tree

458 files changed

+42132
-7975
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

458 files changed

+42132
-7975
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Build the manager binary
16-
FROM golang:1.10.3 as builder
16+
FROM golang:1.11.2 as builder
1717

1818
# Copy in the go src
1919
WORKDIR $GOPATH/src/sigs.k8s.io/cluster-api

Gopkg.lock

Lines changed: 95 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ deploy: manifests ## Deploy controller in the configured Kubernetes cluster in ~
5757
.PHONY: manifests
5858
manifests: ## Generate manifests e.g. CRD, RBAC etc.
5959
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go all
60-
@# Kubebuilder CRD generation can't handle intstr.IntOrString properly:
61-
@# https://github.com/kubernetes-sigs/kubebuilder/issues/442
62-
sed -i -e 's/maxSurge:/maxSurge: {}/g' -e '/maxSurge:/{n;d};' config/crds/cluster_v1alpha1_machinedeployment.yaml
63-
sed -i -e 's/maxUnavailable:/maxUnavailable: {}/g' -e '/maxUnavailable:/{n;d};' config/crds/cluster_v1alpha1_machinedeployment.yaml
6460

6561
.PHONY: fmt
6662
fmt: ## Run go fmt against code

config/crds/cluster_v1alpha1_machinedeployment.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,14 @@ spec:
4848
properties:
4949
rollingUpdate:
5050
properties:
51-
maxSurge: {}
52-
maxUnavailable: {}
51+
maxSurge:
52+
oneOf:
53+
- type: string
54+
- type: integer
55+
maxUnavailable:
56+
oneOf:
57+
- type: string
58+
- type: integer
5359
type: object
5460
type:
5561
type: string

vendor/github.com/beorn7/perks/LICENSE

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/beorn7/perks/quantile/BUILD.bazel

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)