Skip to content

Commit 8989855

Browse files
committed
re-implement isolation modes for cluster-scoped objects, add 'namespaced' and 'none' strategies
On-behalf-of: @SAP christoph.mewes@sap.com
1 parent 9fd9281 commit 8989855

17 files changed

Lines changed: 917 additions & 657 deletions

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ OS := $(shell go env GOOS)
9797
KUBE_MAJOR_VERSION := 1
9898
KUBE_MINOR_VERSION := $(shell go mod edit -json | jq '.Require[] | select(.Path == "k8s.io/client-go") | .Version' --raw-output | sed "s/v[0-9]*\.\([0-9]*\).*/\1/")
9999
GIT_COMMIT := $(shell git rev-parse --short HEAD || echo 'local')
100-
GIT_DIRTY := $(shell git diff --quiet && echo 'clean' || echo 'dirty')
100+
# --quiet would still produces output when files are deleted
101+
GIT_DIRTY := $(shell git diff --quiet >/dev/null && echo 'clean' || echo 'dirty')
101102
GIT_VERSION := $(shell go mod edit -json | jq '.Require[] | select(.Path == "k8s.io/client-go") | .Version' --raw-output | sed 's/v0/v1/')+kube-bind-$(shell git describe --tags --match='v*' --abbrev=14 "$(GIT_COMMIT)^{commit}" 2>/dev/null || echo v0.0.0-$(GIT_COMMIT))
102103
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
103104
LDFLAGS := \

pkg/konnector/controllers/cluster/serviceexport/cluster-scoped/utils.go

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

pkg/konnector/controllers/cluster/serviceexport/cluster-scoped/utils_test.go

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

0 commit comments

Comments
 (0)