Browse Source

rid of host

pull/82/head
brandon 4 years ago
parent
commit
13cdac242a
  1. 17
      helm-guestbook/templates/ingress.yaml

17
helm-guestbook/templates/ingress.yaml

@ -9,23 +9,6 @@ metadata:
{{- end }} {{- end }}
spec: spec:
rules: rules:
# host rule to only reach the desired pods (aka canary/preview)
- host: guestbook-desired.argoproj.io
http:
paths:
- backend:
serviceName: guestbook-canary-service
servicePort: {{ .Values.service.port }}
path: /*
# host rule to only reach the stable pods
- host: guestbook-stable.argoproj.io
http:
paths:
- backend:
serviceName: {{ template "helm-guestbook.fullname" . }}
servicePort: {{ .Values.service.port }}
path: /*
# default rule which omits host, and will split traffic between desired vs. stable
- http: - http:
paths: paths:
- path: /* - path: /*

Loading…
Cancel
Save