Skip to content

Commit

Permalink
update istio ports
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinon committed Nov 20, 2023
1 parent d6f6c66 commit b56b5f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions charts/app/templates/istio.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{- if .Values.istio.enabled -}}
{{- $fullName := include "app.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- $portName := "http" -}}
---
apiVersion: cert-manager.io/v1
Expand Down Expand Up @@ -73,6 +72,6 @@ spec:
- destination:
host: {{$fullName}}.{{ .Release.Namespace }}.svc.cluster.local
port:
number: {{default $svcPort 80}}
number: {{default .Values.istio.targetPort 80}}
weight: 100
{{- end }}

0 comments on commit b56b5f7

Please sign in to comment.