Skip to content

Commit 1e4a3ea

Browse files
Merge pull request #571 from vectordotdev/release-sync/0.56.0
chore(releasing): Merge develop into master for 0.56.0
2 parents 6ce3699 + a5dbc79 commit 1e4a3ea

9 files changed

Lines changed: 289 additions & 205 deletions

File tree

.github/workflows/release-post.yml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
name: Post Release
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
branches: [develop]
7+
workflow_dispatch:
8+
inputs:
9+
release_ref:
10+
description: 'Git ref (branch or commit SHA) to sync to master, e.g. release-0.56.0'
11+
required: true
12+
type: string
13+
14+
jobs:
15+
post-release:
16+
# Only run when a release-* branch is merged into develop, or manually triggered
17+
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-'))
18+
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
21+
pull-requests: write
22+
23+
steps:
24+
- name: Generate App token
25+
id: app-token
26+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
27+
with:
28+
app-id: ${{ secrets.VECTORDOTDEV_BOT_APP_ID }}
29+
private-key: ${{ secrets.VECTORDOTDEV_BOT_PRIVATE_KEY }}
30+
31+
- name: Checkout
32+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+
with:
34+
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.release_ref || 'develop' }}
35+
fetch-depth: 0
36+
token: ${{ steps.app-token.outputs.token }}
37+
38+
- name: Configure Git
39+
run: |
40+
git config user.name "vectordotdev-bot[bot]"
41+
git config user.email "${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com"
42+
43+
- name: Install helm-docs
44+
uses: envoy/install-helm-docs@05313083ef2cfaea27c4c3d7cb725242d22ea88b # v1.0.0
45+
with:
46+
version: 1.11.0
47+
48+
- name: Merge develop into master
49+
run: |
50+
CHART_VERSION=$(grep '^version:' charts/vector/Chart.yaml | sed 's/version: "\(.*\)"/\1/')
51+
SYNC_BRANCH="release-sync/${CHART_VERSION}"
52+
git checkout -b "$SYNC_BRANCH"
53+
git push origin "$SYNC_BRANCH"
54+
PR_URL=$(gh pr create \
55+
--title "chore(releasing): Merge develop into master for ${CHART_VERSION}" \
56+
--body "Post release: sync master with the release changes from develop for ${CHART_VERSION}." \
57+
--base master \
58+
--head "$SYNC_BRANCH")
59+
gh pr merge "$PR_URL" --auto --merge
60+
env:
61+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
62+
63+
- name: Read and bump chart version
64+
id: version
65+
run: |
66+
CHART_VERSION=$(grep '^version:' charts/vector/Chart.yaml | sed 's/version: "\(.*\)"/\1/')
67+
MAJOR=$(echo "$CHART_VERSION" | cut -d. -f1)
68+
MINOR=$(echo "$CHART_VERSION" | cut -d. -f2)
69+
NEW_VERSION="${MAJOR}.$((MINOR + 1)).0"
70+
echo "current=$CHART_VERSION" >> "$GITHUB_OUTPUT"
71+
echo "next=$NEW_VERSION" >> "$GITHUB_OUTPUT"
72+
73+
- name: Create version bump branch
74+
run: |
75+
git switch develop
76+
git checkout -b "bump-chart-version-${{ steps.version.outputs.next }}"
77+
78+
- name: Bump chart version
79+
run: |
80+
sed -i 's/version: "${{ steps.version.outputs.current }}"/version: "${{ steps.version.outputs.next }}"/' \
81+
charts/vector/Chart.yaml
82+
83+
- name: Update Helm docs
84+
run: helm-docs
85+
86+
- name: Commit and push
87+
run: |
88+
git add .
89+
git commit -m "chore(releasing): Bump chart version to ${{ steps.version.outputs.next }}"
90+
git push -u origin "bump-chart-version-${{ steps.version.outputs.next }}"
91+
92+
- name: Create and auto-merge PR
93+
run: |
94+
gh pr create \
95+
--title "chore(releasing): Bump chart version to ${{ steps.version.outputs.next }}" \
96+
--body "Post release version bump." \
97+
--base develop \
98+
--head "bump-chart-version-${{ steps.version.outputs.next }}"
99+
gh pr merge "bump-chart-version-${{ steps.version.outputs.next }}" --auto --squash
100+
env:
101+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
name: Prepare Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
# Uses the vectordotdev-bot GitHub App so that PR creation and pushes can
7+
# trigger downstream workflows (the default GITHUB_TOKEN cannot do that).
8+
# Requires the App to be installed on this repo, with VECTORDOTDEV_BOT_APP_ID
9+
# (variable) and VECTORDOTDEV_BOT_PRIVATE_KEY (secret) configured.
10+
jobs:
11+
prepare:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
17+
steps:
18+
- name: Generate App token
19+
id: app-token
20+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
21+
with:
22+
app-id: ${{ secrets.VECTORDOTDEV_BOT_APP_ID }}
23+
private-key: ${{ secrets.VECTORDOTDEV_BOT_PRIVATE_KEY }}
24+
25+
- name: Checkout develop
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+
with:
28+
ref: develop
29+
fetch-depth: 0
30+
token: ${{ steps.app-token.outputs.token }}
31+
32+
- name: Configure Git
33+
run: |
34+
git config user.name "vectordotdev-bot[bot]"
35+
git config user.email "${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com"
36+
37+
- name: Install helm-docs
38+
uses: envoy/install-helm-docs@05313083ef2cfaea27c4c3d7cb725242d22ea88b # v1.0.0
39+
with:
40+
version: 1.11.0
41+
42+
- name: Install yq
43+
run: |
44+
sudo curl -sSL -o /usr/local/bin/yq \
45+
https://github.com/mikefarah/yq/releases/download/v4.45.1/yq_linux_amd64
46+
sudo chmod +x /usr/local/bin/yq
47+
48+
- name: Install git-cliff
49+
run: |
50+
curl -sSL https://github.com/orhun/git-cliff/releases/download/v2.7.0/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz \
51+
| sudo tar xz -C /usr/local/bin --strip-components=1 git-cliff-2.7.0/git-cliff
52+
53+
- name: Get latest Vector version
54+
id: vector
55+
run: |
56+
VERSION=$(curl -s https://api.github.com/repos/vectordotdev/vector/releases/latest \
57+
| grep -oE '"tag_name": *"[^"]+"' \
58+
| sed 's/"tag_name": *"v//;s/"//')
59+
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
60+
61+
- name: Create release branch
62+
run: git checkout -b "release-${{ steps.vector.outputs.version }}"
63+
64+
- name: Update Vector appVersion
65+
run: .github/release-vector-version.sh
66+
67+
- name: Update Helm docs
68+
run: helm-docs
69+
70+
- name: Commit version bump
71+
run: |
72+
git add .
73+
git commit -m "feat(vector): Bump Vector to ${{ steps.vector.outputs.version }} and update Helm docs"
74+
75+
- name: Regenerate CHANGELOG
76+
run: .github/release-changelog.sh
77+
78+
- name: Commit changelog
79+
run: |
80+
git add .
81+
git commit -m "feat(vector): Regenerate CHANGELOG for ${{ steps.vector.outputs.version }}"
82+
83+
- name: Push branch
84+
run: git push -u origin "release-${{ steps.vector.outputs.version }}"
85+
86+
- name: Create PR
87+
run: |
88+
gh pr create \
89+
--title "feat(releasing): Release Vector ${{ steps.vector.outputs.version }}" \
90+
--body "$(cat <<'EOF'
91+
Automated release PR for Vector ${{ steps.vector.outputs.version }}.
92+
93+
## Reviewer checklist
94+
95+
- [ ] Review `CHANGELOG.md` and edit if needed (drop reverted/housekeeping entries, fix miscategorized commits).
96+
- [ ] Confirm `appVersion` in `charts/vector/Chart.yaml` matches the intended Vector release.
97+
- [ ] Merge via **squash** so the commit history stays clean — the Post Release workflow fires on merge and will merge `develop` into `master`, triggering the chart release.
98+
EOF
99+
)" \
100+
--base develop \
101+
--head "release-${{ steps.vector.outputs.version }}"
102+
env:
103+
GH_TOKEN: ${{ steps.app-token.outputs.token }}

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,46 @@ All notable changes to this project will be documented in this file.
33

44
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
55

6+
## [vector-0.56.0] - 2026-06-03
7+
8+
### Releasing
9+
10+
#### Bug Fixes
11+
12+
- Bump develop chart version to 0.56.0 (#566) ([2456205](https://github.com/vectordotdev/helm-charts/commit/2456205027e414b36786b5b866e4f05d7767e6f9))
13+
14+
#### Features
15+
16+
- Lockstep chart version with Vector version (#561) ([f2c7ef2](https://github.com/vectordotdev/helm-charts/commit/f2c7ef276df20929b42f05d79b888cdef4d68760))
17+
18+
### Vector
19+
20+
#### Features
21+
22+
- Add support for custom annotations on sts pvc (#552) ([ed76b0d](https://github.com/vectordotdev/helm-charts/commit/ed76b0d036b16aa90f5bc556db91a5ac7d8ed5d1))
23+
- Bump Vector to 0.56.0 and update Helm docs ([94dbe2d](https://github.com/vectordotdev/helm-charts/commit/94dbe2d48dc4dc4b375ada3c46522621955d73cc))
24+
25+
## [vector-0.52.0] - 2026-04-22
26+
27+
### Releasing
28+
29+
#### Features
30+
31+
- Update Vector version to 0.55.0 and Helm docs (#558) ([6ce3699](https://github.com/vectordotdev/helm-charts/commit/6ce36995480f6dcafd81c162e4377f5e0a6035eb))
32+
33+
### Vector
34+
35+
#### Bug Fixes
36+
37+
- Use haproxy podPriorityClassName in haproxy deployment (#538) ([889084a](https://github.com/vectordotdev/helm-charts/commit/889084aca571c176abb553f86ee600b739bf4289))
38+
- Set haproxy terminationGracePeriodSeconds on pod spec (#539) ([b261a43](https://github.com/vectordotdev/helm-charts/commit/b261a432e9fac7afbabf5ace5625eef7dbf63f14))
39+
- Add missing namespace to HPA and PDB templates (#537) ([40adbf7](https://github.com/vectordotdev/helm-charts/commit/40adbf7c21d895c9e217ef0f33073186c415cc49))
40+
41+
#### Features
42+
43+
- Add startupProbe option to pod template (#550) ([e3ce248](https://github.com/vectordotdev/helm-charts/commit/e3ce248883d3ddcde9c5bb4ea66bbfe61cdaefd1))
44+
- Default API bind and readiness for chart-managed config (#540) ([82773e7](https://github.com/vectordotdev/helm-charts/commit/82773e79041172ddeed13efe7ab679a79fb72fa7))
45+
646
## [vector-0.51.0] - 2026-03-10
747

848
### Vector

RELEASING.md

Lines changed: 33 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,48 @@ This document is intended for project maintainers.
44

55
Charts are packaged and released with [`cr`](https://github.com/helm/chart-releaser) when the `develop` branch is merged into `master`.
66

7-
Install the following required tools:
8-
* [`helm-docs`](https://github.com/norwoodj/helm-docs)
9-
* [`gh`](https://cli.github.com/)
10-
* [`yq`](https://github.com/mikefarah/yq)
11-
* [`git-cliff`](https://github.com/orhun/git-cliff)
7+
## Prerequisites
128

9+
The release workflows authenticate as the `vectordotdev-bot` GitHub App. The App must be installed on this repo, with the following configured under **Settings → Secrets and variables → Actions**:
1310

14-
Now run the release script:
11+
- Secret: `VECTORDOTDEV_BOT_APP_ID` — the App's numeric ID.
12+
- Secret: `VECTORDOTDEV_BOT_PRIVATE_KEY` — the App's private key (PEM contents).
1513

16-
```shell
17-
bash release.sh <Vector release GitHub issue link>
18-
```
14+
The App is required because the default `GITHUB_TOKEN` cannot trigger downstream workflows — without it, the push to `master` would not fire the [release workflow](https://github.com/vectordotdev/helm-charts/actions/workflows/release.yaml), and PR-creation events would not run CI.
1915

20-
This will create the pull requests and wait for them to be approved and merged. If the script fails, please refer to the following section and continue the release manually.
16+
## Automated release
2117

22-
After the script runs, the [release workflow](https://github.com/vectordotdev/helm-charts/actions/workflows/release.yaml) should start automatically. Once it completes, you will have successfully released `helm-charts`!
18+
1. Go to **Actions → Prepare Release** and click **Run workflow**, or run:
19+
```shell
20+
gh workflow run release-prepare.yml
21+
```
22+
2. Review the opened release PR — edit `CHANGELOG.md` if needed, then **squash-merge** into `develop`.
23+
3. The **Post Release** workflow fires automatically on merge and:
24+
- Merges `develop` into `master` (triggering the chart release).
25+
- Opens a version bump PR for the next development cycle, set to auto-merge once CI passes.
26+
27+
Once the [release workflow](https://github.com/vectordotdev/helm-charts/actions/workflows/release.yaml) completes, the chart is published.
2328

2429
## Releasing manually
2530

2631
<details>
27-
<summary>Always prefer the automated method described above. Use this guide only if the above method fails. </summary>
28-
To make releasing easier two scripts are utilized in the steps below.
29-
30-
1. Run `$ .github/release-vector-version.sh`
31-
- Update Helm docs by running `helm-docs`
32-
- Commit the changes generated from step 1. This needs to be a
33-
[conventional commit](https://www.conventionalcommits.org/).
34-
- E.g. "feat(vector): Bump Vector to v0.29.0"
35-
- Submit a PR with the changes.
36-
- Notes:
37-
- This queries [vectordotdev/vector](https://github.com/vectordotdev/vector)
38-
for the latest release and updates the `vector` chart's default image.
39-
- This is convenient when updating the chart after a Vector release.
40-
- On macOS, install `gsed`
41-
42-
2. Run `$ .github/release-changelog.sh`
43-
- Commit the changes generated from step 1. This needs to be a
44-
[conventional commit](https://www.conventionalcommits.org/).
45-
- E.g. "feat(vector): Regenerate CHANGELOG"
46-
- Submit a PR with the changes.
47-
- Notes:
48-
- This pulls the current `vector` chart version and uses `git-cliff` to update
49-
the [CHANGELOG.md](CHANGELOG.md). Run this to generate the final commit merged into
50-
`develop` before merging `develop` into `master`.
51-
- This script requires [`yq`](https://github.com/mikefarah/yq) and
52-
[`git-cliff`](https://github.com/orhun/git-cliff) to be installed.
53-
54-
3. To kick off the [release workflow](https://github.com/vectordotdev/helm-charts/actions/workflows/release.yaml):
55-
```
56-
git switch master
57-
git pull
32+
<summary>Use this only if the automated workflows fail.</summary>
33+
34+
1. Run `.github/release-vector-version.sh` to update the Vector image version, then run `helm-docs`.
35+
- Commit: `feat(vector): Bump Vector to <version> and update Helm docs`
36+
37+
2. Run `.github/release-changelog.sh` to regenerate the CHANGELOG.
38+
- Commit: `feat(vector): Regenerate CHANGELOG for <version>`
39+
40+
3. Submit both commits as a single PR to `develop` and merge it.
41+
42+
4. Merge `develop` into `master` to trigger the release workflow:
43+
```shell
44+
git switch master && git pull
5845
git merge develop
5946
git push
60-
```
47+
```
48+
49+
5. Bump the chart minor version in `charts/vector/Chart.yaml`, run `helm-docs`, and open a PR to `develop`.
50+
6151
</details>

charts/vector/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: vector
3-
version: "0.52.0"
3+
version: "0.56.0"
44
kubeVersion: ">=1.28.0-0"
55
description: A lightweight, ultra-fast tool for building observability pipelines
66
type: application
@@ -18,11 +18,11 @@ maintainers:
1818
- name: Datadog
1919
email: vector@datadoghq.com
2020
icon: https://vector.dev/press/vector-icon.svg
21-
appVersion: "0.55.0-distroless-libc"
21+
appVersion: "0.56.0-distroless-libc"
2222
annotations:
2323
artifacthub.io/images: |
2424
- name: vector
25-
image: timberio/vector:0.55.0-distroless-libc
25+
image: timberio/vector:0.56.0-distroless-libc
2626
- name: haproxy
2727
image: haproxytech/haproxy-alpine:2.6.12
2828
artifacthub.io/license: MPL-2.0

charts/vector/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vector
22

3-
![Version: 0.52.0](https://img.shields.io/badge/Version-0.52.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.55.0-distroless-libc](https://img.shields.io/badge/AppVersion-0.55.0--distroless--libc-informational?style=flat-square)
3+
![Version: 0.56.0](https://img.shields.io/badge/Version-0.56.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.56.0-distroless-libc](https://img.shields.io/badge/AppVersion-0.56.0--distroless--libc-informational?style=flat-square)
44

55
[Vector](https://vector.dev/) is a high-performance, end-to-end observability data pipeline that puts you in control of your observability data. Collect, transform, and route all your logs, metrics, and traces to any vendors you want today and any other vendors you may want tomorrow. Vector enables dramatic cost reduction, novel data enrichment, and data security where you need it, not where is most convenient for your vendors.
66

@@ -183,6 +183,7 @@ helm install <RELEASE_NAME> \
183183
| nameOverride | string | `""` | Override the name of resources. |
184184
| nodeSelector | object | `{}` | Configure a [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for Vector Pods. |
185185
| persistence.accessModes | list | `["ReadWriteOnce"]` | Specifies the accessModes for PersistentVolumeClaims. Valid for the "Aggregator" role. |
186+
| persistence.annotations | object | `{}` | Set annotations on the PersistentVolumeClaims created by the StatefulSet. |
186187
| persistence.enabled | bool | `false` | If true, create and use PersistentVolumeClaims. |
187188
| persistence.existingClaim | string | `""` | Name of an existing PersistentVolumeClaim to use. Valid for the "Aggregator" role. |
188189
| persistence.finalizers | list | `["kubernetes.io/pvc-protection"]` | Specifies the finalizers of PersistentVolumeClaims. Valid for the "Aggregator" role. |

charts/vector/templates/statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ spec:
6363
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
6464
- metadata:
6565
name: data
66+
{{- with .Values.persistence.annotations }}
67+
annotations:
68+
{{- toYaml . | nindent 8 }}
69+
{{- end }}
6670
spec:
6771
accessModes: {{ .Values.persistence.accessModes }}
6872
{{- if .Values.persistence.storageClassName }}

0 commit comments

Comments
 (0)