Skip to content

Commit

Permalink
update helm
Browse files Browse the repository at this point in the history
Signed-off-by: wanjunlei <[email protected]>
  • Loading branch information
wanjunlei committed Dec 15, 2023
1 parent 6dcf2d4 commit 42b822b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
7 changes: 1 addition & 6 deletions helm/templates/notificationmanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,8 @@ spec:
{{- toYaml .Values.notificationmanager.volumes | nindent 4 }}
defaultSecretNamespace:
{{- toYaml .Values.notificationmanager.defaultSecretNamespace | nindent 4 }}
{{- if eq .Values.kubesphere true }}
sidecars:
tenant:
image: kubesphere/notification-tenant-sidecar:v3.2.0
name: tenant
type: kubesphere
{{- end}}
{{- toYaml .Values.notificationmanager.sidecars | nindent 4 }}
template:
{{- toYaml .Values.notificationmanager.template | nindent 4 }}
groupLabels:
Expand Down
20 changes: 6 additions & 14 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Whether Notification manager is running at the kubesphere.
kubesphere: false

hook:
postInstall:
image:
repo: kubesphere/kubectl
tag: v1.22.0
pullPolicy: IfNotPresent
backoffLimit: 1

# Set timezone to be injected into containers
# timezone: "America/Toronto"

# value of notification-manager-operator
operator:
containers:
Expand Down Expand Up @@ -92,3 +78,9 @@ notificationmanager:
env:
- name: TZ
value: Asia/Shanghai
# set when using kubesphere
# sidecars:
# tenant:
# image: kubesphere/notification-tenant-sidecar:v3.2.0
# name: tenant
# type: kubesphere

0 comments on commit 42b822b

Please sign in to comment.