github.com/stefanmcshane/helm@v0.0.0-20221213002717-88a4a2c6e77d/pkg/lint/rules/testdata/v3-fail/templates/service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{ include "v3-fail.fullname" . }}
     5    annotations:
     6      helm.sh/hook: crd-install
     7    labels:
     8      {{- include "v3-fail.labels" . | nindent 4 }}
     9  spec:
    10    type: {{ .Values.service.type }}
    11    ports:
    12      - port: {{ .Values.service.port }}
    13        targetPort: http
    14        protocol: TCP
    15        name: http
    16    selector:
    17      {{- include "v3-fail.selectorLabels" . | nindent 4 }}