-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use read only fs for Ouath and Job API component (#1095)
* Use read only fs for Ouath and Job API component * simplify bash sleep resource requirements * Run bash sleep with readonly root * Always set default memory and cpu * revert tests * cleanup resourcesmap * tests cleanup * Add context to BatchJob, KubeJob and Deployment * replace context.TODO() with deploy.ctx * remove commented out helper function * revert test description * move setup logger to test util, move kube tests to kube_test * move setup logger to test util, move kube tests to kube_test * remove test import if not needed * return error instead of taking context * use context logger instead of struct logger * remove context from batch.NewSyncer() * move log setup to init * Add Resources util tests * rename resourcesv1 to kuberesources * rename resourcesv1 to resource * move utils Resource builder to its own test package/file * Bump patch version
- Loading branch information
Showing
37 changed files
with
627 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,8 +82,8 @@ CONTROLLER_GEN=$(shell which controller-gen) | |
endif | ||
|
||
.PHONY: test | ||
test: | ||
go test -cover `go list ./... | grep -v 'pkg/client'` | ||
test: | ||
LOG_LEVEL=warn go test -cover `go list ./... | grep -v 'pkg/client'` | ||
|
||
.PHONY: mocks | ||
mocks: | ||
|
@@ -129,7 +129,7 @@ CUSTOM_RESOURCE_NAME=radix | |
CUSTOM_RESOURCE_VERSION=v1 | ||
|
||
.PHONY: code-gen | ||
code-gen: | ||
code-gen: | ||
$(GOPATH)/pkg/mod/k8s.io/[email protected]/generate-groups.sh all $(ROOT_PACKAGE)/pkg/client $(ROOT_PACKAGE)/pkg/apis $(CUSTOM_RESOURCE_NAME):$(CUSTOM_RESOURCE_VERSION) --go-header-file $(GOPATH)/pkg/mod/k8s.io/[email protected]/hack/boilerplate.go.txt | ||
|
||
.PHONY: crds | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.