Skip to content

Commit ab45902

Browse files
author
Yoan Moscatelli
committed
📝 update bumping documentation
1 parent 56f8f4d commit ab45902

File tree

1 file changed

+26
-22
lines changed

1 file changed

+26
-22
lines changed

BUMPING.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,6 @@ Here is a short list of chart and component bumps and how to perform them
44

55
## Charts
66

7-
### General Outline
8-
9-
All charts are in the `charts/` directory, they are usually represented
10-
in one file and one directory:
11-
12-
- `$CHART_NAME/` contains the untouched chart files fetched using helm.
13-
- `$CHART_NAME.yaml` our personalized helm values file.
14-
15-
In order to Bump this chart, one has to:
16-
17-
- remove the current chart files:
18-
```rm -rf charts/$CHART_NAME/```
19-
- add the chart's repo using helm:
20-
```helm repo add $REPO_NAME $REPO_URL && helm repo update```
21-
- fetch the repo again:
22-
```helm fetch -d charts --untar $REPO_NAME/$CHART_NAME```
23-
- make any necessary patches to the chart (chart-specific).
24-
- generate the sls state from the chart:
25-
```./doit.sh codegen:chart_$CHART_NAME```
26-
277
### fluent-bit
288

299
```
@@ -81,9 +61,9 @@ set `$VERSION` with the appropriate value.
8161
run
8262

8363
```
84-
curl https://raw.githubusercontent.com/kubernetes/ingress-nginx/helm-chart-$VERSION/deploy/grafana/dashboards/nginx.json \
64+
curl https://raw.githubusercontent.com/kubernetes/ingress-nginx/refs/tags/controller-$VERSION/deploy/grafana/dashboards/nginx.json \
8565
-Lo salt/metalk8s/addons/nginx-ingress/deployed/files/ingress-nginx.json
86-
curl https://raw.githubusercontent.com/kubernetes/ingress-nginx/helm-chart-$VERSION/deploy/grafana/dashboards/request-handling-performance.json \
66+
curl https://raw.githubusercontent.com/kubernetes/ingress-nginx/refs/tags/controller-$VERSION/deploy/grafana/dashboards/request-handling-performance.json \
8767
-Lo salt/metalk8s/addons/nginx-ingress/deployed/files/ingress-nginx-performance.json
8868
```
8969

@@ -116,6 +96,24 @@ REPO_NAME=banzaicloud-stable
11696
REPO_URL=https://kubernetes-charts.banzaicloud.com/
11797
```
11898

99+
### General Outline
100+
101+
All charts are in the `charts/` directory, they are usually represented
102+
in one file and one directory:
103+
104+
- `$CHART_NAME/` contains the untouched chart files fetched using helm.
105+
- `$CHART_NAME.yaml` our personalized helm values file.
106+
107+
In order to Bump this chart, one has to:
108+
109+
- remove the current chart files:
110+
```rm -rf charts/$CHART_NAME/```
111+
- add the chart's repo using helm:
112+
```helm repo add $REPO_NAME $REPO_URL && helm repo update```
113+
- fetch the repo again:
114+
```helm fetch -d charts --untar $REPO_NAME/$CHART_NAME```
115+
- make any necessary patches to the chart (chart-specific).
116+
119117
## Images
120118

121119
A few tips to bump image versions and SHAs:
@@ -151,3 +149,9 @@ This guide is applied for both `metalk8s-operator` and `storage-operator`.
151149
## Containerd
152150

153151
Instructions to bump Containerd version are in its [spec file](./packages/redhat/common/containerd.spec)
152+
153+
## Update the sls state
154+
155+
- git add changes because codegen need to list them.
156+
- generate the sls state from the chart:
157+
```./doit.sh codegen:chart_$CHART_NAME```

0 commit comments

Comments
 (0)