-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm升级到2.5.1 报错 #274
Comments
sidecar => sidecars |
还是没明白,values 里面定义的就是sidecar,notificationmanager.yaml引用的也是sidecar,报错的信息是spec.sidecars.tenant.name需要这个值。notificationmanager.yaml中这一段已经定义了 {{- if .Values.kubesphere.enabled }}
sidecars:
tenant:
{{- if .Values.kubesphere.image }}
image: {{ include "global.imageRegistry" . }}{{ .Values.kubesphere.image }}
{{- else }}
image: {{ include "global.imageRegistry" . }}{{ .Values.notificationmanager.sidecar.image.repo }}:{{ .Values.kubesphere.version }}
{{- end }}
name: tenant
type: kubesphere
resources:
limits:
cpu: {{ .Values.notificationmanager.sidecar.tenant.resources.limits.cpu }}
memory: {{ .Values.notificationmanager.sidecar.tenant.resources.limits.memory }}
requests:
cpu: {{ .Values.notificationmanager.sidecar.tenant.resources.requests.cpu }}
memory: {{ .Values.notificationmanager.sidecar.tenant.resources.requests.memory }}
{{- end }} helm dry-run 的结果部分内容: sidecars:
tenant:
image: harbor-k8s.net/kubesphere/notification-tenant-sidecar:v3.2.0
name: tenant
type: kubesphere
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 500m
memory: 500Mi |
我的升级步骤是:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
命令:
错误:
The text was updated successfully, but these errors were encountered: