Skip to content

Commit

Permalink
Fix helm chart when no env vars are specified (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwylde authored Dec 18, 2024
1 parent fd044d8 commit e052d5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions k8s/arroyo/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ spec:
key: password
{{- end }}

{{ if .Values.env }}
{{- include "tplvalues.render" (dict "value" .Values.env "context" $) | nindent 10 }}
{{ end }}
containers:
- name: arroyo-controller
securityContext:
Expand Down Expand Up @@ -99,7 +101,9 @@ spec:
fieldRef:
fieldPath: metadata.uid

{{ if .Values.env }}
{{- include "tplvalues.render" (dict "value" .Values.env "context" $) | nindent 8 }}
{{ end }}

ports:
- containerPort: {{ .Values.controller.service.grpcPort }}
Expand Down

0 comments on commit e052d5a

Please sign in to comment.