Skip to content

Commit 2b57978

Browse files
update image tag handling to default to chart app version (#299)
* fix: update image tag handling to default to chart app version Signed-off-by: Gentleelephant <[email protected]> * chore: update version to v2.6.0 and adjust related references Signed-off-by: Gentleelephant <[email protected]> --------- Signed-off-by: Gentleelephant <[email protected]>
1 parent 85e761d commit 2b57978

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed

CHANGLOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v2.6.0 / 2025-06-30
2+
3+
### Enhancements
4+
5+
- update actions/cache to v4 (#293) @wanjunlei
6+
- update template (#296) @wanjunlei
7+
18
## v2.5.2 / 2024-05-14
29

310
### Enhancements

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ We assume you already have a Kubernetes cluster (v1.16+). You can install one us
8282

8383
```shell
8484
# Deploy CRDs and the Notification Manager Operator:
85-
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.5.2/bundle.yaml
85+
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.6.0/bundle.yaml
8686
# Deploy default template:
87-
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.5.2/template.yaml
87+
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.6.0/template.yaml
8888
# Deploy built-in language packs.
89-
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.5.2/zh-cn.yaml
89+
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.6.0/zh-cn.yaml
9090
```
9191

9292
#### Install with helm
@@ -103,7 +103,7 @@ ensures a deployment meeting the resource requirements is running.
103103
We should create a NotificationManager CR first, skip this when using helm install.
104104

105105
```shell
106-
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.5.2/notification_manager.yaml
106+
kubectl apply -f https://github.com/kubesphere/notification-manager/releases/download/v2.6.0/notification_manager.yaml
107107
```
108108

109109
### Configure sender

RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This page describes the release process and the currently planned schedule for u
2020
| v2.5.0 | 2024-03-21 | leiwanjun (GitHub: @leiwanjun) |
2121
| v2.5.1 | 2024-04-03 | leiwanjun (GitHub: @leiwanjun) |
2222
| v2.5.2 | 2024-04-14 | leiwanjun (GitHub: @leiwanjun) |
23+
| v2.6.0 | 2025-06-30 | Gentleelephant (GitHub: @Gentleelephant) |
2324

2425
# How to cut a new release
2526

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: 2.5.0
2+
appVersion: 2.6.0
33
description: Notification Manager manages notifications in multi-tenant K8s environment. It receives alerts or notifications from different senders and then send notifications to various tenant receivers based on alerts/notifications' tenant label like "namespace".
44
name: notification-manager
5-
version: 2.5.0
5+
version: 2.6.0

helm/templates/notificationmanagers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
{{- if .Values.notificationmanager.replicas }}
99
replicas: {{ .Values.notificationmanager.replicas }}
1010
{{- end}}
11-
image: {{ include "global.imageRegistry" .}}{{ .Values.notificationmanager.image.repo }}:{{ .Values.notificationmanager.image.tag }}
11+
image: {{ include "global.imageRegistry" .}}{{ .Values.notificationmanager.image.repo }}:{{ .Values.notificationmanager.image.tag | default (printf "v%s" .Chart.AppVersion) }}
1212
imagePullPolicy: {{ .Values.notificationmanager.image.pullPolicy }}
1313
serviceAccountName: notification-manager-sa
1414
portName: webhook

helm/templates/operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
- name: TZ
4848
value: {{ .Values.timezone }}
4949
{{- end }}
50-
image: {{ include "global.imageRegistry" . }}{{ .Values.operator.containers.operator.image.repo }}:{{ .Values.operator.containers.operator.image.tag }}
50+
image: {{ include "global.imageRegistry" . }}{{ .Values.operator.containers.operator.image.repo }}:{{ .Values.operator.containers.operator.image.tag | default (printf "v%s" .Chart.AppVersion) }}
5151
imagePullPolicy: {{ .Values.operator.containers.operator.image.pullPolicy }}
5252
name: notification-manager-operator
5353
ports:

helm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ operator:
2727
operator:
2828
image:
2929
repo: kubesphere/notification-manager-operator
30-
tag: v2.5.0
30+
tag: v2.6.0
3131
pullPolicy: IfNotPresent
3232
resources:
3333
limits:
@@ -45,7 +45,7 @@ operator:
4545
notificationmanager:
4646
image:
4747
repo: kubesphere/notification-manager
48-
tag: v2.5.0
48+
tag: v2.6.0
4949
pullPolicy: IfNotPresent
5050
sidecar:
5151
image:

0 commit comments

Comments
 (0)