github.com/Azure/draft-classic@v0.16.0/cmd/draft/testdata/create/generated/html-but-actually-go/charts/go/templates/ingress.yaml (about)

     1  {{- if .Values.ingress.enabled -}}
     2  apiVersion: extensions/v1beta1
     3  kind: Ingress
     4  metadata:
     5    name: {{ template "fullname" . }}
     6    labels:
     7      chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
     8  spec:
     9    rules:
    10    - host: {{ .Release.Name }}.{{ .Values.basedomain }}
    11      http:
    12        paths:
    13        - path: /
    14          backend:
    15            serviceName: {{ template "fullname" . }}
    16            servicePort: {{ .Values.service.externalPort }}
    17  {{- end -}}