Skip to content

Commit 322bb51

Browse files
authored
Add helm package command (#24)
Signed-off-by: kerthcet <[email protected]>
1 parent 15d8aa3 commit 322bb51

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ Dockerfile.cross
2525
*.swo
2626
*~
2727

28-
.DS_Store
28+
.DS_Store
29+
artifacts
30+
*.tgz

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,11 @@ $(CONTROLLER_GEN): $(LOCALBIN)
233233
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
234234
$(ENVTEST): $(LOCALBIN)
235235
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
236+
237+
238+
.PHONY: helm-lint
239+
helm-lint: ## Lint helm chart
240+
helm lint ./chart
241+
.PHONY: helm-package
242+
helm-package: helm-lint
243+
helm package ./chart --destination ./artifacts

chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
name: scheduler-plugins
2+
name: kube-scheduler
33
description: deploy scheduler plugin as a second scheduler in cluster
44

55
# A chart can be either an 'application' or a 'library' chart.
@@ -21,4 +21,4 @@ version: 0.0.1
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.0.1"
24+
appVersion: "0.1.0"

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ scheduler:
66
name: llmaz-scheduler
77
image:
88
repository: inftyai/kube-scheduler
9-
tag: v0.0.1
9+
tag: v0.1.0
1010
pullPolicy: IfNotPresent
1111
command:
1212
- /kube-scheduler

0 commit comments

Comments
 (0)