Skip to content

Commit 2f06db0

Browse files
authored
Merge pull request #127 from scality/feature/S3CSI-99-release-notes-for-1.1.0
S3CSI-99: release notes and upgrade guide for 1.1.0
2 parents bce603c + 52afcc1 commit 2f06db0

8 files changed

Lines changed: 151 additions & 4 deletions

File tree

.github/workflows/e2e-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- 'mkdocs.yml'
1414
- 'requirements.txt' # MkDocs requirements
1515
- 'NOTICE'
16+
- '.lychee.toml'
17+
- '.markdownlint.yaml'
1618

1719
env:
1820
KUBECONFIG: "/home/runner/.kube/config"

.github/workflows/tests-and-compliance.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
- '*.md'
1313
- 'mkdocs.yml'
1414
- 'requirements.txt'
15+
- '.lychee.toml'
16+
- '.markdownlint.yaml'
1517

1618
jobs:
1719
code-quality-tests:

.lychee.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ exclude = [
7878
"github\\.com/.*/edit/",
7979
"github\\.com/.*/blob/.*/.*\\.(md|txt)$",
8080

81+
# Exclude GitHub release URLs for this repository (allows merging docs before release)
82+
"github\\.com/scality/mountpoint-s3-csi-driver/releases/",
83+
8184
# Exclude URLs with placeholders
8285
"<[^>]+>",
8386
"\\$\\{[^}]+\\}",

charts/scality-mountpoint-s3-csi-driver/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: scality-mountpoint-s3-csi-driver
33
description: A Helm chart for installing the Mountpoint for Scality S3 CSI Driver. This CSI driver allows your Kubernetes applications to access S3 objects through a file system interface.
4-
version: 0.3.0
4+
version: 1.1.0
55
kubeVersion: ">=1.30.0-0"
66
home: https://github.com/scality/mountpoint-s3-csi-driver
77
sources:

docs/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,15 @@ It implements the [CSI specification](https://github.com/container-storage-inter
3333
Container images for the Scality S3 CSI Driver are hosted on GHCR:
3434

3535
| Driver Version | Image URL |
36-
|----------------|---------------------------------------------------------------------------|
37-
| 1.0.0 | `ghcr.io/scality/mountpoint-s3-csi-driver:1.0.0` |
36+
|---------------|----------------------------------------------------------------------------|
37+
| 1.1.0 | `ghcr.io/scality/mountpoint-s3-csi-driver:1.1.0` |
3838

39-
*Note: Please check the [releases page](https://github.com/scality/mountpoint-s3-csi-driver/releases) for the latest available versions.*
39+
Review [release notes](release-notes.md) for breaking changes and the [releases page](https://github.com/scality/mountpoint-s3-csi-driver/releases) for complete changelog details.
40+
41+
??? note "Previous Images"
42+
| Driver Version | Image URL |
43+
|---------------|----------------------------------------------------------------------------|
44+
| 1.0.0 | `ghcr.io/scality/mountpoint-s3-csi-driver:1.0.0` |
4045

4146
## Support and Community
4247

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Upgrade Guide
2+
3+
This guide provides instructions for upgrading the Scality S3 CSI Driver to newer versions.
4+
5+
## Prerequisites
6+
7+
Before upgrading, ensure all requirements outlined in the **[Prerequisites](prerequisites.md)** guide are met for the target version.
8+
9+
## Pre-Upgrade Steps
10+
11+
**Step 1. Set namespace variable:**
12+
13+
Set the namespace where the driver is currently installed:
14+
15+
```bash
16+
export NAMESPACE="scality-s3-csi" # Replace with your actual namespace
17+
```
18+
19+
**Step 2. Check current installation:**
20+
21+
```bash
22+
# Get current release info
23+
helm list --all-namespaces | grep scality-mountpoint-s3-csi-driver
24+
25+
# Check current version
26+
kubectl get pods -n ${NAMESPACE} -l app.kubernetes.io/name=scality-mountpoint-s3-csi-driver -o jsonpath='{.items[0].spec.containers[0].image}'
27+
```
28+
29+
**Step 3. Review changes:**
30+
31+
Check the [Release Notes](../release-notes.md) for version-specific changes and breaking changes.
32+
33+
**Step 4. Dry run upgrade (recommended):**
34+
35+
```bash
36+
# Test upgrade without applying changes
37+
helm upgrade scality-mountpoint-s3-csi-driver \
38+
oci://ghcr.io/scality/mountpoint-s3-csi-driver/helm-charts/scality-mountpoint-s3-csi-driver \
39+
--namespace ${NAMESPACE} \
40+
--reuse-values \
41+
--dry-run
42+
```
43+
44+
## Upgrade Options
45+
46+
!!! warning
47+
If any application pods using the S3 buckets as filesystems are restarted during the upgrade they will lose access to the buckets.
48+
Once the upgrade is complete, the application pods will automatically regain access to the buckets.
49+
50+
Choose one of the following upgrade options:
51+
52+
### Option A: Upgrade with Default Values
53+
54+
For installations using existing configuration:
55+
56+
```bash
57+
helm upgrade scality-mountpoint-s3-csi-driver \
58+
oci://ghcr.io/scality/mountpoint-s3-csi-driver/helm-charts/scality-mountpoint-s3-csi-driver \
59+
--namespace ${NAMESPACE} \
60+
--reuse-values
61+
```
62+
63+
### Option B: Upgrade with Custom Values
64+
65+
For installations with custom configuration file:
66+
67+
```bash
68+
helm upgrade scality-mountpoint-s3-csi-driver \
69+
oci://ghcr.io/scality/mountpoint-s3-csi-driver/helm-charts/scality-mountpoint-s3-csi-driver \
70+
--values values-production.yaml \
71+
--namespace ${NAMESPACE}
72+
```
73+
74+
## Post-Upgrade Verification
75+
76+
**Step 1. Check upgrade status:**
77+
78+
```bash
79+
helm status scality-mountpoint-s3-csi-driver -n ${NAMESPACE}
80+
```
81+
82+
**Step 2. Verify pods are running:**
83+
84+
```bash
85+
kubectl get pods -n ${NAMESPACE} -l app.kubernetes.io/name=scality-mountpoint-s3-csi-driver
86+
```
87+
88+
**Step 3. Check driver version:**
89+
90+
```bash
91+
kubectl get pods -n ${NAMESPACE} -l app.kubernetes.io/name=scality-mountpoint-s3-csi-driver -o jsonpath='{.items[0].spec.containers[0].image}'
92+
```
93+
94+
## Rollback (If Needed)
95+
96+
!!! warning
97+
If any application pods using the S3 buckets as filesystems are restarted during the rollback they will lose access to the buckets.
98+
Once the rollback is complete, the application pods will automatically regain access to the buckets.
99+
100+
If issues occur after upgrade you can rollback to the previous version using the following steps:
101+
102+
```bash
103+
# Check rollback history
104+
helm history scality-mountpoint-s3-csi-driver -n ${NAMESPACE}
105+
106+
# Rollback to previous version
107+
helm rollback scality-mountpoint-s3-csi-driver -n ${NAMESPACE}
108+
```
109+
110+
## Troubleshooting
111+
112+
These are quick checks to verify the upgrade was successful. For detailed troubleshooting, refer to the [troubleshooting guide](../troubleshooting.md).
113+
114+
**Check pod status:**
115+
116+
The driver pod should be in a `Running` state.
117+
118+
```bash
119+
kubectl describe pods -n ${NAMESPACE} -l app.kubernetes.io/name=scality-mountpoint-s3-csi-driver
120+
```
121+
122+
**Check CSI driver registration:**
123+
124+
```bash
125+
kubectl get csidriver s3.csi.scality.com
126+
```

docs/release-notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release Notes
22

3+
## [1.1.0](https://github.com/scality/mountpoint-s3-csi-driver/releases/tag/1.1.0)
4+
5+
June 26, 2025
6+
7+
### What's New
8+
9+
- Enabled `force-path-style` at the driver level to support fully qualified domain names (FQDNs) for RING S3 endpoints.
10+
311
## [1.0.0](https://github.com/scality/mountpoint-s3-csi-driver/releases/tag/1.0.0)
412

513
June 13, 2025

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ nav:
9191
- Prerequisites: driver-deployment/prerequisites.md
9292
- Quick Start: driver-deployment/quick-start.md
9393
- Installation Guide: driver-deployment/installation-guide.md
94+
- Upgrade Guide: driver-deployment/upgrade-guide.md
9495
- Uninstallation: driver-deployment/uninstallation.md
9596
- Volume Provisioning:
9697
- Static Provisioning:

0 commit comments

Comments
 (0)