You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
615 B
21 lines
615 B
{{- if .Values.ingress.enabled -}}
|
|
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ template "helm-guestbook.fullname" . }}
|
|
namespace: {{ template "helm-guestbook.fullname" . }}
|
|
{{- with .Values.ingress.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
rules:
|
|
# - host: argo.cirruslabs.io
|
|
- http:
|
|
paths:
|
|
- path: {{ .Values.ingress.path }}
|
|
backend:
|
|
# serviceName must match canary.stableService
|
|
serviceName: {{ template "helm-guestbook.fullname" . }}
|
|
servicePort: {{ .Values.service.port }}
|
|
{{- end }}
|