Skip to content

Commit

Permalink
v0.5.2 (aws#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn authored Dec 9, 2021
1 parent 5487cb7 commit 13c8aa7
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 45 deletions.
16 changes: 3 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,8 @@ RELEASE_REPO ?= public.ecr.aws/karpenter
RELEASE_VERSION ?= $(shell git describe --tags --always)
RELEASE_PLATFORM ?= --platform=linux/amd64,linux/arm64

GIT_VERSION ?= $(shell git describe --tags --always --dirty)
GIT_HASH ?= $(shell git rev-parse HEAD)
DATE_FMT = +'%Y-%m-%dT%H:%M:%SZ'
SOURCE_DATE_EPOCH ?= $(shell git log -1 --pretty=%ct)
ifdef SOURCE_DATE_EPOCH
BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "$(DATE_FMT)" 2>/dev/null || date -u "$(DATE_FMT)")
else
BUILD_DATE ?= $(shell date "$(DATE_FMT)")
endif

## Inject these annotations to cosign signing
COSIGN_SIGN_FLAGS ?= -a GIT_HASH=${GIT_HASH} -a GIT_VERSION=${GIT_VERSION} -a BUILD_DATE=${BUILD_DATE}
COSIGN_FLAGS ?= -a GIT_HASH=$(shell git rev-parse HEAD) -a GIT_VERSION=${RELEASE_VERSION} -a BUILD_DATE=$(shell date +'%Y-%m-%dT%H:%M:%SZ')

## Inject the app version into project.Version
LDFLAGS ?= "-ldflags=-X=github.com/aws/karpenter/pkg/utils/project.Version=$(RELEASE_VERSION)"
Expand Down Expand Up @@ -89,8 +79,8 @@ publish: ## Generate release manifests and publish a versioned container image.
yq e -i ".controller.image = \"$$($(WITH_RELEASE_REPO) $(WITH_GOFLAGS) ko publish -B -t $(RELEASE_VERSION) $(RELEASE_PLATFORM) ./cmd/controller)\"" charts/karpenter/values.yaml
yq e -i ".webhook.image = \"$$($(WITH_RELEASE_REPO) $(WITH_GOFLAGS) ko publish -B -t $(RELEASE_VERSION) $(RELEASE_PLATFORM) ./cmd/webhook)\"" charts/karpenter/values.yaml
yq e -i '.version = "$(subst v,,${RELEASE_VERSION})"' charts/karpenter/Chart.yaml
COSIGN_EXPERIMENTAL=1 cosign sign ${COSIGN_SIGN_FLAGS} ${RELEASE_REPO}/controller:${RELEASE_VERSION}
COSIGN_EXPERIMENTAL=1 cosign sign ${COSIGN_SIGN_FLAGS} ${RELEASE_REPO}/webhook:${RELEASE_VERSION}
COSIGN_EXPERIMENTAL=1 cosign sign ${COSIGN_FLAGS} ${RELEASE_REPO}/controller:${RELEASE_VERSION}
COSIGN_EXPERIMENTAL=1 cosign sign ${COSIGN_FLAGS} ${RELEASE_REPO}/webhook:${RELEASE_VERSION}

helm: ## Generate Helm Chart
cd charts;helm lint karpenter;helm package karpenter;helm repo index .
Expand Down
59 changes: 34 additions & 25 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ apiVersion: v1
entries:
karpenter:
- apiVersion: v2
created: "2021-12-03T11:32:03.243936-08:00"
created: "2021-12-09T12:36:43.756071-08:00"
description: A Helm chart for https://github.com/aws/karpenter/.
digest: 45f6262a018c11c0c3068e29dc2e1cf337cba8c390ec269b9b36c6d8bdac581e
name: karpenter
type: application
urls:
- karpenter-0.5.2.tgz
version: 0.5.2
- apiVersion: v2
created: "2021-12-09T12:36:43.75557-08:00"
description: A Helm chart for https://github.com/aws/karpenter/.
digest: 4247c15ec571f82025c80ceaa9354ce3ee3b209e4ba15a0ca3c36a1f90a859ec
name: karpenter
Expand All @@ -11,7 +20,7 @@ entries:
- karpenter-0.5.1.tgz
version: 0.5.1
- apiVersion: v2
created: "2021-12-03T11:32:03.243436-08:00"
created: "2021-12-09T12:36:43.754858-08:00"
description: A Helm chart for https://github.com/aws/karpenter/.
digest: 6d49a00dca8a6f8d7938e9508228af085d85a2746e2f742c895b954fe71292df
name: karpenter
Expand All @@ -20,7 +29,7 @@ entries:
- karpenter-0.5.0.tgz
version: 0.5.0
- apiVersion: v2
created: "2021-12-03T11:32:03.243034-08:00"
created: "2021-12-09T12:36:43.754315-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 70c5bbea1016aa56da5227b7f5d7cf5700c4d38ff1814f8e28072c77d8a02c20
name: karpenter
Expand All @@ -29,7 +38,7 @@ entries:
- karpenter-0.4.3.tgz
version: 0.4.3
- apiVersion: v2
created: "2021-12-03T11:32:03.242586-08:00"
created: "2021-12-09T12:36:43.753656-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 558f26b8786384766407c5f86cff5180066c4fa68fe9e3cf7b782ec8564f04ff
name: karpenter
Expand All @@ -38,7 +47,7 @@ entries:
- karpenter-0.4.2.tgz
version: 0.4.2
- apiVersion: v2
created: "2021-12-03T11:32:03.242199-08:00"
created: "2021-12-09T12:36:43.75307-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: ec4bcf2a7f279ad97b8749a7f1a8edd527a09f8c00614d911a773843bd44a58b
name: karpenter
Expand All @@ -47,7 +56,7 @@ entries:
- karpenter-0.4.1.tgz
version: 0.4.1
- apiVersion: v2
created: "2021-12-03T11:32:03.241776-08:00"
created: "2021-12-09T12:36:43.752465-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: d4ea011979906ad22b2345d0eb4c941445e89c1b0561c6ae44bb71fdb641c161
name: karpenter
Expand All @@ -56,7 +65,7 @@ entries:
- karpenter-0.4.0.tgz
version: 0.4.0
- apiVersion: v2
created: "2021-12-03T11:32:03.241334-08:00"
created: "2021-12-09T12:36:43.751773-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: e8b9b3dd447d0ab48b66156bf88ae924121e5780d741ee18cc9a43a90a6f4290
name: karpenter
Expand All @@ -65,7 +74,7 @@ entries:
- karpenter-0.3.4.tgz
version: 0.3.4
- apiVersion: v2
created: "2021-12-03T11:32:03.240887-08:00"
created: "2021-12-09T12:36:43.751157-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 0d8bc4c74416aeb5233a0a65c4b4fd678b7c961f1dca10604e33337715b585ff
name: karpenter
Expand All @@ -74,7 +83,7 @@ entries:
- karpenter-0.3.3.tgz
version: 0.3.3
- apiVersion: v2
created: "2021-12-03T11:32:03.239936-08:00"
created: "2021-12-09T12:36:43.750502-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: e24d1ca8364e92d161f8295b552ec101a72491c62926dd67779d4e4a7e6b5756
name: karpenter
Expand All @@ -83,7 +92,7 @@ entries:
- karpenter-0.3.2.tgz
version: 0.3.2
- apiVersion: v2
created: "2021-12-03T11:32:03.239473-08:00"
created: "2021-12-09T12:36:43.749691-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 86c9a22a01247b2ed564baa12b88ed2df6556c9e8cb6aca9b990212c1e809c45
name: karpenter
Expand All @@ -92,7 +101,7 @@ entries:
- karpenter-0.3.1.tgz
version: 0.3.1
- apiVersion: v2
created: "2021-12-03T11:32:03.23903-08:00"
created: "2021-12-09T12:36:43.748563-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 6d86156704c2c7eac8094dbe57458a3b1334eb38626b6da4ccd60c5cd65e0250
name: karpenter
Expand All @@ -101,7 +110,7 @@ entries:
- karpenter-0.3.0.tgz
version: v0.3.0
- apiVersion: v2
created: "2021-12-03T11:32:03.238595-08:00"
created: "2021-12-09T12:36:43.74791-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 5b19f5da4dd3d3e147f3e93bf168d1cd24106e12eb7fe44ad88850f73ceb82f0
name: karpenter
Expand All @@ -110,7 +119,7 @@ entries:
- karpenter-0.2.9.tgz
version: v0.2.9
- apiVersion: v2
created: "2021-12-03T11:32:03.238156-08:00"
created: "2021-12-09T12:36:43.747307-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 8b704acc1a9c018da774f62c6be824e7389bb482437d318902d01237e3cacfc5
name: karpenter
Expand All @@ -119,7 +128,7 @@ entries:
- karpenter-0.2.8.tgz
version: v0.2.8
- apiVersion: v2
created: "2021-12-03T11:32:03.237722-08:00"
created: "2021-12-09T12:36:43.746663-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 048ec496d46d8ab534bc8af6090699fedd2aaf45c8e1658636c7a44afdb6e898
name: karpenter
Expand All @@ -128,7 +137,7 @@ entries:
- karpenter-0.2.7.tgz
version: v0.2.7
- apiVersion: v2
created: "2021-12-03T11:32:03.237226-08:00"
created: "2021-12-09T12:36:43.746006-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 48008ba427baa5206bd59abe9e25005b0b6673f03e705f2149717bb89156873d
name: karpenter
Expand All @@ -137,7 +146,7 @@ entries:
- karpenter-0.2.6.tgz
version: v0.2.6
- apiVersion: v2
created: "2021-12-03T11:32:03.236803-08:00"
created: "2021-12-09T12:36:43.745335-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 208d0c14d2cdbc8c387dc92a473b625f905e829486edd5fd007eb56c9f896682
name: karpenter
Expand All @@ -146,7 +155,7 @@ entries:
- karpenter-0.2.5.tgz
version: v0.2.5
- apiVersion: v2
created: "2021-12-03T11:32:03.236395-08:00"
created: "2021-12-09T12:36:43.744724-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: ed7d1d08bde38f41a6bc8a4bf93b4dd85a3b6e5f526e44324483eadc9faeea6d
name: karpenter
Expand All @@ -155,7 +164,7 @@ entries:
- karpenter-0.2.4.tgz
version: v0.2.4
- apiVersion: v2
created: "2021-12-03T11:32:03.235996-08:00"
created: "2021-12-09T12:36:43.744115-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 902bd53be060893d4bfe3c0f57ae831448aa8790930d153666429ea5472d824b
name: karpenter
Expand All @@ -164,7 +173,7 @@ entries:
- karpenter-0.2.3.tgz
version: v0.2.3
- apiVersion: v2
created: "2021-12-03T11:32:03.235686-08:00"
created: "2021-12-09T12:36:43.743686-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 90d075cbc08871ffb56b2e530fdf304b6af32c76670fcdd299af87d3810d4651
name: karpenter
Expand All @@ -173,7 +182,7 @@ entries:
- karpenter-0.2.2.tgz
version: v0.2.2
- apiVersion: v2
created: "2021-12-03T11:32:03.235389-08:00"
created: "2021-12-09T12:36:43.742986-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 87e161d40c65dc58a3963f17d70cc165a5bf46155f723e487486f57d209e50d1
name: karpenter
Expand All @@ -182,7 +191,7 @@ entries:
- karpenter-0.2.1.tgz
version: v0.2.1
- apiVersion: v2
created: "2021-12-03T11:32:03.235091-08:00"
created: "2021-12-09T12:36:43.742269-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 552bdc17f5625e4696bb7419284026f4291428877092ec5d984f486a2b812d6f
name: karpenter
Expand All @@ -191,7 +200,7 @@ entries:
- karpenter-0.2.0.tgz
version: v0.2.0
- apiVersion: v2
created: "2021-12-03T11:32:03.23478-08:00"
created: "2021-12-09T12:36:43.741662-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 1a597c415201e61576b83ee6ec3e24b99281805b3be8141b0a344c6f014d4e15
name: karpenter
Expand All @@ -200,7 +209,7 @@ entries:
- karpenter-0.1.3.tgz
version: v0.1.3
- apiVersion: v2
created: "2021-12-03T11:32:03.234457-08:00"
created: "2021-12-09T12:36:43.741037-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 6a6753731aef19db2aae72b6bfc1535917053d87f706579e158cae98c23887b4
name: karpenter
Expand All @@ -209,12 +218,12 @@ entries:
- karpenter-0.1.2.tgz
version: v0.1.2
- apiVersion: v2
created: "2021-12-03T11:32:03.234032-08:00"
created: "2021-12-09T12:36:43.740355-08:00"
description: A Helm chart for https://github.com/awslabs/karpenter/.
digest: 39685c8cbe9a757ca48721aed08b49111fef18bc2a9f67d3223f19d0706f09f7
name: karpenter
type: application
urls:
- karpenter-0.1.1.tgz
version: v0.1.1
generated: "2021-12-03T11:32:03.232702-08:00"
generated: "2021-12-09T12:36:43.738947-08:00"
Binary file added charts/karpenter-0.5.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/karpenter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: karpenter
description: A Helm chart for https://github.com/aws/karpenter/.
type: application
version: 0.5.1
version: 0.5.2
8 changes: 4 additions & 4 deletions charts/karpenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart for https://github.com/aws/karpenter/.

![Version: 0.5.1](https://img.shields.io/badge/Version-0.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

## Installing the Chart

Expand All @@ -12,7 +12,7 @@ To install the chart with the release name `karpenter`:
$ helm repo add karpenter https://charts.karpenter.sh
$ helm repo update
$ helm upgrade --install karpenter karpenter/karpenter --namespace karpenter \
--create-namespace --set serviceAccount.create=false --version 0.5.1 \
--create-namespace --set serviceAccount.create=false --version 0.5.2 \
--set controller.clusterName=${CLUSTER_NAME} \
--set controller.clusterEndpoint=$(aws eks describe-cluster --name ${CLUSTER_NAME} --query "cluster.endpoint" --output json) \
--wait # for the defaulting webhook to install before creating a Provisioner
Expand All @@ -28,7 +28,7 @@ You can follow the detailed installation instruction [here](https://karpenter.sh
| controller.clusterEndpoint | string | `""` | Cluster endpoint |
| controller.clusterName | string | `""` | Cluster name |
| controller.env | list | `[]` | Additional environment variables to run with |
| controller.image | string | `"public.ecr.aws/karpenter/controller:v0.5.1@sha256:f992d8ae64408a783b019cd354265995fa3dd4445f22d793b0f8d520209a3e42"` | Image to use for the Karpenter controller |
| controller.image | string | `"public.ecr.aws/karpenter/controller:v0.5.2@sha256:6b08af0fbeab6da8d9b97ebfb0750bc72a3ac4a97dd0337a1607048292425c48"` | Image to use for the Karpenter controller |
| controller.nodeSelector | object | `{}` | Node selectors to schedule to nodes with labels. |
| controller.replicas | int | `1` | |
| controller.resources.limits.cpu | int | `1` | |
Expand All @@ -42,7 +42,7 @@ You can follow the detailed installation instruction [here](https://karpenter.sh
| webhook.affinity | object | `{}` | Affinity rules for scheduling |
| webhook.env | list | `[]` | List of environment items to add to the webhook |
| webhook.hostNetwork | bool | `false` | Set to true if using custom CNI on EKS |
| webhook.image | string | `"public.ecr.aws/karpenter/webhook:v0.5.1@sha256:9358beeafd19d02de8c9bd20324a85f906eb7bd5da8db492339cfdec7059725b"` | Image to use for the webhook |
| webhook.image | string | `"public.ecr.aws/karpenter/webhook:v0.5.2@sha256:508e6b9110d150dfc57834c6b9a6b4cc39109eaf63e00f9827fcd91fa22b3caa"` | Image to use for the webhook |
| webhook.nodeSelector | object | `{}` | Node selectors to schedule to nodes with labels. |
| webhook.port | int | `8443` | |
| webhook.replicas | int | `1` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/karpenter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ controller:
# -- Affinity rules for scheduling
affinity: {}
# -- Image to use for the Karpenter controller
image: "public.ecr.aws/karpenter/controller:v0.5.1@sha256:f992d8ae64408a783b019cd354265995fa3dd4445f22d793b0f8d520209a3e42"
image: "public.ecr.aws/karpenter/controller:v0.5.2@sha256:6b08af0fbeab6da8d9b97ebfb0750bc72a3ac4a97dd0337a1607048292425c48"
# -- Cluster name
clusterName: ""
# -- Cluster endpoint
Expand All @@ -40,7 +40,7 @@ webhook:
# -- Affinity rules for scheduling
affinity: {}
# -- Image to use for the webhook
image: "public.ecr.aws/karpenter/webhook:v0.5.1@sha256:9358beeafd19d02de8c9bd20324a85f906eb7bd5da8db492339cfdec7059725b"
image: "public.ecr.aws/karpenter/webhook:v0.5.2@sha256:508e6b9110d150dfc57834c6b9a6b4cc39109eaf63e00f9827fcd91fa22b3caa"
# -- Set to true if using custom CNI on EKS
hostNetwork: false
port: 8443
Expand Down

0 comments on commit 13c8aa7

Please sign in to comment.