Merge pull request #742 from bluelabsio/path-templating
set / as default path but allow for individual configuration in values.yml
This commit is contained in:
commit
3316e7e1ef
@ -1,6 +1,7 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $serviceName := include "clair.fullname" . -}}
|
||||
{{- $servicePort := .Values.service.externalApiPort -}}
|
||||
{{- $path := .Values.ingress.path | default "/" -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
@ -20,7 +21,7 @@ spec:
|
||||
- host: {{ $host }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
- path: {{ $path }}
|
||||
backend:
|
||||
serviceName: {{ $serviceName }}
|
||||
servicePort: {{ $servicePort }}
|
||||
|
Loading…
Reference in New Issue
Block a user