Skip to content

Commit ad764b9

Browse files
authored
Merge pull request #81 from flux-framework/fix-upstream-changes
fix: upstream changes for build and charts
2 parents 052bdab + 2ad516c commit ad764b9

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/test.sh

100644100755
File mode changed.

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ PLATFORMS ?= linux/amd64
1616
BUILDER ?= docker
1717

1818
# We match this to the fluence build (see src/build/scheduler/Dockerfile)
19-
GO_VERSION ?= "1.21.9"
20-
GO_BASE_IMAGE?=golang:$(GO_VERSION)
21-
DISTROLESS_BASE_IMAGE?=gcr.io/distroless/static:nonroot
19+
GO_VERSION ?= 1.21.9
20+
GO_BASE_IMAGE ?= golang:${GO_VERSION}
21+
DISTROLESS_BASE_IMAGE ?= gcr.io/distroless/static:nonroot
2222

2323
.PHONY: all build build-sidecar clone update push push-sidecar push-controller
2424

@@ -55,6 +55,7 @@ prepare: clone
5555
cp sig-scheduler-plugins/cmd/controller/app/server.go $(CLONE_UPSTREAM)/cmd/controller/app/server.go
5656

5757
build: prepare
58+
echo ${GO_BASE_IMAGE}
5859
BUILDER=${BUILDER} PLATFORMS=${PLATFORMS} REGISTRY=${REGISTRY} IMAGE=${SCHEDULER_IMAGE} \
5960
CONTROLLER_IMAGE=${CONTROLLER_IMAGE} RELEASE_VERSION=${RELEASE_VERSION} \
6061
GO_BASE_IMAGE=${GO_BASE_IMAGE} DISTROLESS_BASE_IMAGE=${DISTROLESS_BASE_IMAGE} \

examples/kind-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@ nodes:
2121
- role: worker
2222
- role: worker
2323
- role: worker
24-
- role: worker
25-
- role: worker
2624
- role: worker

sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
- containerPort: {{ .Values.scheduler.port }}
6868
hostPort: {{ .Values.scheduler.port }}{{ end }}
6969
- command:
70-
- /bin/kube-scheduler
70+
- /kube-scheduler
7171
- --config=/etc/kubernetes/scheduler-config.yaml
7272
- -v={{ .Values.scheduler.loggingLevel }}
7373
image: {{ .Values.scheduler.image }}

0 commit comments

Comments
 (0)