Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ IMAGE_REPO?=quay.io/kinvolk/flatcar-linux-update-operator
all: bin/update-agent bin/update-operator

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

release-bin:
./build/build-release.sh

test:
go test -v $(REPO)/pkg/...
go test -mod=vendor -v $(REPO)/pkg/...

image:
@$(DOCKER_CMD) build --rm=true -t $(IMAGE_REPO):$(VERSION) .
Expand Down
2 changes: 1 addition & 1 deletion examples/deploy/rbac/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rules:
- list
- delete
- apiGroups:
- "extensions"
- "apps"
resources:
- daemonsets
verbs:
Expand Down
2 changes: 1 addition & 1 deletion examples/reboot-annotations/after-reboot-daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: example-after-reboot-check
Expand Down
2 changes: 1 addition & 1 deletion examples/reboot-annotations/before-reboot-daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: example-before-reboot-check
Expand Down
Loading