Skip to content

Commit a81d7be

Browse files
authored
Merge pull request #14 from kinvolk/invidian/updates
Go modules, dependencies updates and Kubernetes 1.17 fixes
2 parents 0229a5c + b100226 commit a81d7be

File tree

2,051 files changed

+516028
-410188
lines changed

Some content is hidden

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

2,051 files changed

+516028
-410188
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ IMAGE_REPO?=quay.io/kinvolk/flatcar-linux-update-operator
1414
all: bin/update-agent bin/update-operator
1515

1616
bin/%:
17-
go build -o $@ -ldflags $(LD_FLAGS) $(REPO)/cmd/$*
17+
go build -o $@ -ldflags $(LD_FLAGS) -mod=vendor $(REPO)/cmd/$*
1818

1919
release-bin:
2020
./build/build-release.sh
2121

2222
test:
23-
go test -v $(REPO)/pkg/...
23+
go test -mod=vendor -v $(REPO)/pkg/...
2424

2525
image:
2626
@$(DOCKER_CMD) build --rm=true -t $(IMAGE_REPO):$(VERSION) .

examples/deploy/rbac/cluster-role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ rules:
3939
- list
4040
- delete
4141
- apiGroups:
42-
- "extensions"
42+
- "apps"
4343
resources:
4444
- daemonsets
4545
verbs:

examples/reboot-annotations/after-reboot-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: DaemonSet
33
metadata:
44
name: example-after-reboot-check

examples/reboot-annotations/before-reboot-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: DaemonSet
33
metadata:
44
name: example-before-reboot-check

0 commit comments

Comments
 (0)