Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upstream changes for build and charts #81

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .github/test.sh
100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ PLATFORMS ?= linux/amd64
BUILDER ?= docker

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

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

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

build: prepare
echo ${GO_BASE_IMAGE}
BUILDER=${BUILDER} PLATFORMS=${PLATFORMS} REGISTRY=${REGISTRY} IMAGE=${SCHEDULER_IMAGE} \
CONTROLLER_IMAGE=${CONTROLLER_IMAGE} RELEASE_VERSION=${RELEASE_VERSION} \
GO_BASE_IMAGE=${GO_BASE_IMAGE} DISTROLESS_BASE_IMAGE=${DISTROLESS_BASE_IMAGE} \
Expand Down
2 changes: 0 additions & 2 deletions examples/kind-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ nodes:
- role: worker
- role: worker
- role: worker
- role: worker
- role: worker
- role: worker
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
- containerPort: {{ .Values.scheduler.port }}
hostPort: {{ .Values.scheduler.port }}{{ end }}
- command:
- /bin/kube-scheduler
- /kube-scheduler
- --config=/etc/kubernetes/scheduler-config.yaml
- -v={{ .Values.scheduler.loggingLevel }}
image: {{ .Values.scheduler.image }}
Expand Down
Loading