Skip to content

Commit a534880

Browse files
author
Chanwit Kaewkasi
authored
Merge pull request #743 from weaveworks/bump-helm-chart-v0.15.1
write changelog and bump helm chart for v0.15.1
2 parents 5ad2fcd + e2bca4e commit a534880

File tree

8 files changed

+28
-11
lines changed

8 files changed

+28
-11
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

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

5+
# v0.15.1
6+
7+
**Release date:** 2023-06-06
8+
9+
This version is a bug fix release for v0.15.
10+
11+
Bug Fixing:
12+
* Fix type information suffix (@chanwit)
13+
* Update gRPC dependency for CVE-2023-32731 (@chanwit)
14+
515
# v0.15.0
616

717
**Release date:** 2023-06-04

charts/tf-controller/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: tf-controller
33
description: The Helm chart for Weave GitOps Terraform Controller
44
type: application
5-
version: 0.15.0
6-
appVersion: "v0.15.0"
5+
version: 0.15.1
6+
appVersion: "v0.15.1"

charts/tf-controller/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Weave GitOps Terraform Controller
22

3-
![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)
3+
![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)
44

55
The Helm chart for Weave GitOps Terraform Controller
66

@@ -72,7 +72,7 @@ __Note__: If you need to use the `imagePullSecrets` it would be best to set `ser
7272
| rbac.create | bool | `true` | If `true`, create and use RBAC resources |
7373
| replicaCount | int | `1` | Number of TF-Controller pods to deploy |
7474
| resources | object | `{"limits":{"cpu":"1000m","memory":"1Gi"},"requests":{"cpu":"200m","memory":"64Mi"}}` | Resource limits and requests |
75-
| 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 |
75+
| 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 |
7676
| runner.creationTimeout | string | `"5m0s"` | Timeout for runner-creation (Controller) |
7777
| runner.grpc.maxMessageSize | int | `4` | Maximum GRPC message size (Controller) |
7878
| runner.image.repository | string | `"ghcr.io/weaveworks/tf-runner"` | Runner image repository |

charts/tf-controller/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ image:
2727
pullPolicy: IfNotPresent
2828
# -- Overrides the image tag whose default is the chart appVersion.
2929
# @default -- `.Chart.AppVersion`
30-
tag: "v0.15.0"
30+
tag: "v0.15.1"
3131
# -- Controller image pull secret
3232
imagePullSecrets: []
3333
# -- Resource limits and requests
@@ -114,7 +114,7 @@ runner:
114114
repository: ghcr.io/weaveworks/tf-runner
115115
# -- Runner image tag
116116
# @default -- `.Chart.AppVersion`
117-
tag: "v0.15.0"
117+
tag: "v0.15.1"
118118
grpc:
119119
# -- Maximum GRPC message size (Controller)
120120
maxMessageSize: 4

config/bbp/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ generatorOptions:
88
images:
99
- name: weaveworks/branch-based-planner
1010
newName: ghcr.io/weaveworks/branch-based-planner
11-
newTag: v0.15.0
11+
newTag: v0.15.1

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ generatorOptions:
88
images:
99
- name: weaveworks/tf-controller
1010
newName: ghcr.io/weaveworks/tf-controller
11-
newTag: v0.15.0
11+
newTag: v0.15.1

docs/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
sourceRef:
2222
kind: HelmRepository
2323
name: tf-controller
24-
version: '>=0.15.0'
24+
version: '>=0.15.1'
2525
interval: 1h0s
2626
releaseName: tf-controller
2727
targetNamespace: flux-system
@@ -46,9 +46,9 @@ spec:
4646
caCertValidityDuration: 24h
4747
certRotationCheckFrequency: 30m
4848
image:
49-
tag: v0.15.0
49+
tag: v0.15.1
5050
runner:
5151
image:
52-
tag: v0.15.0
52+
tag: v0.15.1
5353
grpc:
5454
maxMessageSize: 30

tools/bump-version.sh

+7
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22

33
VERSION=$1
44

5+
yq e -i ".version=\"${VERSION#v}\"" charts/tf-controller/Chart.yaml
56
yq e -i ".appVersion=\"$VERSION\"" charts/tf-controller/Chart.yaml
67
yq e -i ".image.tag=\"$VERSION\"" charts/tf-controller/values.yaml
78
yq e -i ".runner.image.tag=\"$VERSION\"" charts/tf-controller/values.yaml
89
yq e -i ".images[0].newTag=\"$VERSION\"" config/manager/kustomization.yaml
910
yq e -i ".images[0].newTag=\"$VERSION\"" config/bbp/kustomization.yaml
11+
12+
# bump version in docs/release.yaml
13+
14+
yq e -i "(select(di == 1).spec.chart.spec.version) = \">=${VERSION#v}\"" docs/release.yaml
15+
yq e -i "(select(di == 1).spec.values.image.tag) = \"$VERSION\"" docs/release.yaml
16+
yq e -i "(select(di == 1).spec.values.runner.image.tag) = \"$VERSION\"" docs/release.yaml

0 commit comments

Comments
 (0)