Skip to content

Commit

Permalink
[application/templates/ingress] remove default paths block, fail on m…
Browse files Browse the repository at this point in the history
…issing paths along with host
  • Loading branch information
mustafaStakater committed Apr 13, 2023
1 parent 3f8c385 commit 87b95b7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions application/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@ spec:
name: {{ default "http" (.servicePort) }}
{{- end }}
{{- else }}
- path: "/"
pathType: "ImplementationSpecific"
backend:
service:
name: {{ $applicationNameTpl }}
port:
name: "http"
{{ fail "Specify paths for ingress host, check values.yaml" }}
{{- end }}
{{- end -}}
{{- if .Values.ingress.tls }}
Expand Down

0 comments on commit 87b95b7

Please sign in to comment.