-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a rock for the mentioned version. Updated the rockcraft.yaml file paths. Updated sanity tests to include both rock versions.
- Loading branch information
1 parent
ded9380
commit 4baa315
Showing
4 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: cluster-autoscaler | ||
summary: ROCK for the cluster-autoscaler Project. | ||
description: This ROCK is a drop-in replacement for the autoscaling/cluster-autoscaler image. | ||
version: "1.27.2" | ||
license: Apache-2.0 | ||
|
||
base: bare | ||
build-base: [email protected] | ||
platforms: | ||
amd64: | ||
arm64: | ||
|
||
entrypoint-service: cluster-autoscaler | ||
services: | ||
cluster-autoscaler: | ||
override: replace | ||
summary: "cluster-autoscaler service" | ||
startup: enabled | ||
command: "/cluster-autoscaler [ --help ]" | ||
on-failure: shutdown | ||
|
||
parts: | ||
cluster-autoscaler: | ||
plugin: nil | ||
source: https://github.com/kubernetes/autoscaler.git | ||
source-type: git | ||
source-tag: cluster-autoscaler-${CRAFT_PROJECT_VERSION} | ||
source-depth: 1 | ||
build-snaps: | ||
- go/1.20/stable | ||
override-build: | | ||
cd cluster-autoscaler | ||
make build-arch-${CRAFT_PLATFORM} | ||
cp cluster-autoscaler-${CRAFT_PLATFORM} ${CRAFT_PART_INSTALL}/cluster-autoscaler | ||
prime: | ||
- cluster-autoscaler | ||
|
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