Skip to content

Commit

Permalink
Fix templating in leo
Browse files Browse the repository at this point in the history
  • Loading branch information
mjasion committed Aug 23, 2023
1 parent e772086 commit 95e72c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/studio/templates/configmap-studio-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ data:
{{- end }}

LEO_SERVICE_HOST: "{{ .Release.Name }}-leo"
LEO_SERVICE_PORT: "{{ .Values.studioLeo.service.port }}"
LEO_SERVICE_PORT: "{{ ((.Values.studioLeo).service).port | default 8181 }}"
LEO_ENCODING: "utf-8"

4 changes: 2 additions & 2 deletions charts/studio/templates/service-leo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
labels:
{{- include "studio-leo.labels" . | nindent 4 }}
spec:
type: {{ .Values.studioLeo.service.type }}
type: {{ ((.Values.studioLeo).service).type | default "ClusterIP" }}
ports:
- port: {{ .Values.studioLeo.service.port }}
- port: {{ ((.Values.studioLeo).service).port | default 8181 }}
targetPort: http
protocol: TCP
name: http
Expand Down

0 comments on commit 95e72c5

Please sign in to comment.