{{- 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: / backend: # serviceName must match canary.stableService serviceName: {{ template "helm-guestbook.fullname" . }} servicePort: {{ .Values.service.port }} {{- end }}