Skip to content
New issue

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

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

Already on GitHub? # to your account

write changelog and bump helm chart for v0.15.1 #743

Merged
merged 2 commits into from
Jul 6, 2023
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes of this project are documented in this file.

# v0.15.1

**Release date:** 2023-06-06

This version is a bug fix release for v0.15.

Bug Fixing:
* Fix type information suffix (@chanwit)
* Update gRPC dependency for CVE-2023-32731 (@chanwit)

# v0.15.0

**Release date:** 2023-06-04
Expand Down
4 changes: 2 additions & 2 deletions charts/tf-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: tf-controller
description: The Helm chart for Weave GitOps Terraform Controller
type: application
version: 0.15.0
appVersion: "v0.15.0"
version: 0.15.1
appVersion: "v0.15.1"
4 changes: 2 additions & 2 deletions charts/tf-controller/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Weave GitOps Terraform Controller

![Version: 0.15.0](https://img.shields.io/badge/Version-0.15.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.15.0](https://img.shields.io/badge/AppVersion-v0.15.0-informational?style=flat-square)
![Version: 0.15.1](https://img.shields.io/badge/Version-0.15.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.15.1](https://img.shields.io/badge/AppVersion-v0.15.1-informational?style=flat-square)

The Helm chart for Weave GitOps Terraform Controller

Expand Down Expand Up @@ -72,7 +72,7 @@ __Note__: If you need to use the `imagePullSecrets` it would be best to set `ser
| rbac.create | bool | `true` | If `true`, create and use RBAC resources |
| replicaCount | int | `1` | Number of TF-Controller pods to deploy |
| resources | object | `{"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"200m","memory":"64Mi"}}` | Resource limits and requests |
| runner | object | `{"creationTimeout":"5m0s","grpc":{"maxMessageSize":4},"image":{"repository":"ghcr.io/weaveworks/tf-runner","tag":"v0.15.0"},"serviceAccount":{"allowedNamespaces":[],"annotations":{},"create":true,"name":""}}` | Runner-specific configurations |
| runner | object | `{"creationTimeout":"5m0s","grpc":{"maxMessageSize":4},"image":{"repository":"ghcr.io/weaveworks/tf-runner","tag":"v0.15.1"},"serviceAccount":{"allowedNamespaces":[],"annotations":{},"create":true,"name":""}}` | Runner-specific configurations |
| runner.creationTimeout | string | `"5m0s"` | Timeout for runner-creation (Controller) |
| runner.grpc.maxMessageSize | int | `4` | Maximum GRPC message size (Controller) |
| runner.image.repository | string | `"ghcr.io/weaveworks/tf-runner"` | Runner image repository |
Expand Down
4 changes: 2 additions & 2 deletions charts/tf-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ image:
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
# @default -- `.Chart.AppVersion`
tag: "v0.15.0"
tag: "v0.15.1"
# -- Controller image pull secret
imagePullSecrets: []
# -- Resource limits and requests
Expand Down Expand Up @@ -114,7 +114,7 @@ runner:
repository: ghcr.io/weaveworks/tf-runner
# -- Runner image tag
# @default -- `.Chart.AppVersion`
tag: "v0.15.0"
tag: "v0.15.1"
grpc:
# -- Maximum GRPC message size (Controller)
maxMessageSize: 4
Expand Down
2 changes: 1 addition & 1 deletion config/bbp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ generatorOptions:
images:
- name: weaveworks/branch-based-planner
newName: ghcr.io/weaveworks/branch-based-planner
newTag: v0.15.0
newTag: v0.15.1
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ generatorOptions:
images:
- name: weaveworks/tf-controller
newName: ghcr.io/weaveworks/tf-controller
newTag: v0.15.0
newTag: v0.15.1
6 changes: 3 additions & 3 deletions docs/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
sourceRef:
kind: HelmRepository
name: tf-controller
version: '>=0.15.0'
version: '>=0.15.1'
interval: 1h0s
releaseName: tf-controller
targetNamespace: flux-system
Expand All @@ -46,9 +46,9 @@ spec:
caCertValidityDuration: 24h
certRotationCheckFrequency: 30m
image:
tag: v0.15.0
tag: v0.15.1
runner:
image:
tag: v0.15.0
tag: v0.15.1
grpc:
maxMessageSize: 30
7 changes: 7 additions & 0 deletions tools/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

VERSION=$1

yq e -i ".version=\"${VERSION#v}\"" charts/tf-controller/Chart.yaml
yq e -i ".appVersion=\"$VERSION\"" charts/tf-controller/Chart.yaml
yq e -i ".image.tag=\"$VERSION\"" charts/tf-controller/values.yaml
yq e -i ".runner.image.tag=\"$VERSION\"" charts/tf-controller/values.yaml
yq e -i ".images[0].newTag=\"$VERSION\"" config/manager/kustomization.yaml
yq e -i ".images[0].newTag=\"$VERSION\"" config/bbp/kustomization.yaml

# bump version in docs/release.yaml

yq e -i "(select(di == 1).spec.chart.spec.version) = \">=${VERSION#v}\"" docs/release.yaml
yq e -i "(select(di == 1).spec.values.image.tag) = \"$VERSION\"" docs/release.yaml
yq e -i "(select(di == 1).spec.values.runner.image.tag) = \"$VERSION\"" docs/release.yaml