Skip to content

Commit

Permalink
Merge pull request #37 from dysnix/update-app
Browse files Browse the repository at this point in the history
[dysnix/app] fix ingress
  • Loading branch information
dennybaa authored May 25, 2021
2 parents a6ba402 + cd7bd37 commit c9f4645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dysnix/app/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: app
description: Generic application Helm chart
version: 0.3.6
version: 0.3.7
engine: gotpl
sources:
- https://github.com/dysnix/charts
Expand Down
4 changes: 2 additions & 2 deletions dysnix/app/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.pathType }}
{{- end }}
{{- $svcName := include "app.service.defaultPortName" (pick .Values.service "port" "targetPort") }}
backend: {{- include "common.ingress.backend" (dict "serviceName" $svcName "servicePort" (.Values.service.port) "context" .) | nindent 14 }}
{{- $svcPort := include "app.service.defaultPortName" (pick .Values.service "port" "targetPort") }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" $svcPort "context" .) | nindent 14 }}
{{- end }}
{{- range .Values.ingress.extraHosts }}
- host: {{ .name }}
Expand Down

0 comments on commit c9f4645

Please sign in to comment.