cvat-ai/cvat

Helm Frontend Deployment

Opened this issue · 0 comments

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Perform the helm upgrade
  2. It'll throw a can't evaluate field Values in type []interface {} error

Expected Behavior

No response

Possible Solution

You should put the

          {{- if .Values.cvat.frontend.readinessProbe.enabled }}
          readinessProbe:
            tcpSocket:
              port: 80
            {{- toYaml (omit .Values.cvat.frontend.readinessProbe "enabled") | nindent 12 }}
          {{- end }}
          {{- if .Values.cvat.frontend.livenessProbe.enabled }}
          livenessProbe:
            tcpSocket:
              port: 80
            {{- toYaml (omit .Values.cvat.frontend.livenessProbe "enabled") | nindent 12 }}
          {{- end }}

after or outside the {{- with .Values.cvat.frontend.additionalVolumeMounts }},
preferably before {{- with .Values.cvat.frontend.additionalVolumes }}

Context

No response

Environment

No response