diff --git a/.gitignore b/.gitignore index 54a93e3..cb59921 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,6 @@ Dockerfile.cross *.swo *~ -.DS_Store \ No newline at end of file +.DS_Store +artifacts +*.tgz \ No newline at end of file diff --git a/Makefile b/Makefile index ac33ac7..1da3f1b 100644 --- a/Makefile +++ b/Makefile @@ -233,3 +233,11 @@ $(CONTROLLER_GEN): $(LOCALBIN) envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + + +.PHONY: helm-lint +helm-lint: ## Lint helm chart + helm lint ./chart +.PHONY: helm-package +helm-package: helm-lint + helm package ./chart --destination ./artifacts diff --git a/chart/Chart.yaml b/chart/Chart.yaml index f22f943..8ad58bf 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: scheduler-plugins +name: kube-scheduler description: deploy scheduler plugin as a second scheduler in cluster # A chart can be either an 'application' or a 'library' chart. @@ -21,4 +21,4 @@ version: 0.0.1 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.0.1" +appVersion: "0.1.0" diff --git a/chart/values.yaml b/chart/values.yaml index abf94df..4148ee3 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -6,7 +6,7 @@ scheduler: name: llmaz-scheduler image: repository: inftyai/kube-scheduler - tag: v0.0.1 + tag: v0.1.0 pullPolicy: IfNotPresent command: - /kube-scheduler