ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: Error install with helm

Open shaozhijian2008 opened this issue 9 months ago • 0 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (Language Policy).
  • [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • [x] Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

N/A

RAGFlow image version

N/A

Other environment information


Actual behavior

Encountering errors while installing using helm,msg shown below:

Error: INSTALLATION FAILED: template: ragflow/templates/ingress.yaml:38:33: executing "ragflow/templates/ingress.yaml" at <.Release.Name>: nil pointer evaluating interface {}.Name

Expected behavior

No response

Steps to reproduce

helm install ragflow ragflow/helm

or 

helm template ragflow ragflow/helm

Additional information

modify the ingress template with below is ok:

{{- if .Values.ingress.enabled -}} {{- $fullName := include "ragflow.fullname" . -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ include "ragflow.fullname" . }} labels: {{- include "ragflow.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} spec: {{- with .Values.ingress.className }} ingressClassName: {{ . }} {{- end }} {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.ingress.hosts }} - host: {{ .host | quote }} http: paths: {{- range .paths }} - path: {{ .path }} {{- with .pathType }} pathType: {{ . }} {{- end }} backend: service: name: {{ $fullName }} port: name: http {{- end }} {{- end }} {{- end }}

shaozhijian2008 avatar Mar 18 '25 01:03 shaozhijian2008