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

Update to v1.3.0 #39

Merged
merged 2 commits into from
Feb 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ bash generate.sh
```

The script is based on https://github.com/kubernetes/sample-controller, specifically https://github.com/kubernetes/sample-controller/blob/master/hack/update-codegen.sh.

## Cutting a release

1. Update the `VERSION` in the Makefile
2. Update the image version to match in artifacts/cluster-turndown-full.yaml
3. Build and push the new image to GCR (`make release`)
4. Merge the changes
5. Tag a new release off of develop for the new version
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=1.2.2
VERSION=1.3.0
REGISTRY=gcr.io
PROJECT_ID=kubecost1
APPNAME=cluster-turndown
Expand Down
4 changes: 2 additions & 2 deletions artifacts/cluster-turndown-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ spec:
spec:
containers:
- name: cluster-turndown
image: gcr.io/kubecost1/cluster-turndown:1.2.2
image: gcr.io/kubecost1/cluster-turndown:1.3.0
volumeMounts:
- name: turndown-keys
mountPath: /var/keys
Expand Down Expand Up @@ -248,4 +248,4 @@ spec:
- name: Next Turn Up
type: string
description: The next turn up date-time
JSONPath: .status.nextScaleUpTime
JSONPath: .status.nextScaleUpTime