@@ -6,15 +6,15 @@ This document describes the versioning strategy for tns-csi.
66
77tns-csi follows [ Semantic Versioning] ( https://semver.org/ ) (SemVer):
88
9- - ** MAJOR.MINOR.PATCH** (e.g., ` v0.9.2 ` )
10- - Tags are prefixed with ` v ` (e.g., ` v0.9.2 ` , ` v1.0.0 ` )
9+ - ** MAJOR.MINOR.PATCH** (e.g., ` v0.12.0 ` )
10+ - Tags are prefixed with ` v ` (e.g., ` v0.12.0 ` , ` v1.0.0 ` )
1111
1212## Version Sources
1313
1414The version is determined at ** build time** and embedded in the binary. The version comes from:
1515
16161 . ** Git tags** (preferred) - When building from a tagged commit, the version is the tag name
17- 2 . ** Git describe** - For non-tagged commits, format is ` v0.9.2 -3-gabc1234 ` (3 commits after v0.9.2 )
17+ 2 . ** Git describe** - For non-tagged commits, format is ` v0.12.0 -3-gabc1234 ` (3 commits after v0.12.0 )
18183 . ** "dev"** - Fallback when git is not available
1919
2020## What's Embedded
@@ -23,7 +23,7 @@ Each build includes:
2323
2424| Field | Description | Example |
2525| -------| -------------| ---------|
26- | Version | Semantic version from git tag | ` v0.9.2 ` |
26+ | Version | Semantic version from git tag | ` v0.12.0 ` |
2727| Git Commit | Short SHA of the commit | ` abc1234 ` |
2828| Build Date | UTC timestamp of build | ` 2025-12-21T10:30:00Z ` |
2929| Go Version | Go compiler version | ` go1.26.0 ` |
@@ -39,7 +39,7 @@ tns-csi-driver --show-version
3939
4040Output:
4141```
42- tns.csi.io version: v0.9.2
42+ tns.csi.io version: v0.12.0
4343 Git commit: abc1234
4444 Build date: 2025-12-21T10:30:00Z
4545 Go version: go1.26.0
@@ -61,7 +61,7 @@ curl http://localhost:8080/version
6161Response:
6262``` json
6363{
64- "version" : " v0.9.2 " ,
64+ "version" : " v0.12.0 " ,
6565 "gitCommit" : " abc1234" ,
6666 "buildDate" : " 2025-12-21T10:30:00Z" ,
6767 "goVersion" : " go1.26.0" ,
@@ -73,7 +73,7 @@ Response:
7373
7474The version is logged at startup:
7575```
76- Starting TNS CSI Driver v0.9.2 (commit: abc1234, built: 2025-12-21T10:30:00Z)
76+ Starting TNS CSI Driver v0.12.0 (commit: abc1234, built: 2025-12-21T10:30:00Z)
7777```
7878
7979### From Helm
@@ -91,7 +91,7 @@ When a version is released, Docker images are tagged with:
9191
9292| Tag | Description | Stability |
9393| -----| -------------| -----------|
94- | ` v0.9.2 ` | Exact version | Immutable |
94+ | ` v0.12.0 ` | Exact version | Immutable |
9595| ` 0.5 ` | Major.Minor | Points to latest patch |
9696| ` 0 ` | Major only | Points to latest minor |
9797| ` latest ` | Most recent release | Mutable - not recommended for production |
@@ -108,15 +108,15 @@ The Helm chart version is kept in sync with the application version:
108108
109109| Chart.yaml Field | Value |
110110| ------------------| -------|
111- | ` version ` | ` 0.9.2 ` (chart version, no ` v ` prefix) |
112- | ` appVersion ` | ` v0.9.2 ` (app version, with ` v ` prefix) |
111+ | ` version ` | ` 0.12.0 ` (chart version, no ` v ` prefix) |
112+ | ` appVersion ` | ` v0.12.0 ` (app version, with ` v ` prefix) |
113113
114114### Image Tag Resolution
115115
116116The Helm chart resolves the image tag in this order:
117117
118- 1 . ** Explicit override** : ` --set image.tag=v0.9.2 `
119- 2 . ** Chart's appVersion** : Automatically uses ` v0.9.2 ` when installing ` --version 0.9.2 `
118+ 1 . ** Explicit override** : ` --set image.tag=v0.12.0 `
119+ 2 . ** Chart's appVersion** : Automatically uses ` v0.12.0 ` when installing ` --version 0.12.0 `
120120
121121## Best Practices
122122
@@ -127,14 +127,14 @@ The Helm chart resolves the image tag in this order:
127127``` bash
128128# Install specific chart version (uses matching image tag automatically)
129129helm install tns-csi oci://registry-1.docker.io/bfenski/tns-csi-driver \
130- --version 0.9.2 \
130+ --version 0.12.0 \
131131 ...
132132```
133133
134134Or explicitly set the image tag:
135135``` bash
136136helm install tns-csi ./charts/tns-csi-driver \
137- --set image.tag=v0.9.2 \
137+ --set image.tag=v0.12.0 \
138138 ...
139139```
140140
@@ -160,7 +160,7 @@ kubectl logs -n kube-system deployment/tns-csi-controller | head -1
160160Upgrade to a new version:
161161``` bash
162162helm upgrade tns-csi oci://registry-1.docker.io/bfenski/tns-csi-driver \
163- --version 0.9.2 \
163+ --version 0.12.0 \
164164 --reuse-values
165165```
166166
@@ -178,6 +178,6 @@ kubectl exec -n kube-system deployment/tns-csi-controller -- \
178178```
179179
180180Include in your issue:
181- - Version (e.g., ` v0.9.2 ` )
181+ - Version (e.g., ` v0.12.0 ` )
182182- Git commit (e.g., ` abc1234 ` )
183183- How you installed (Helm version, custom image, etc.)
0 commit comments