github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/pkg/scanners/helm/test/testdata/with-tarred-dep/templates/service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{ template "common.names.fullname" . }}
     5    labels: {{- include "common.labels.standard" . | nindent 4 }}
     6  spec:
     7    ports:
     8      - name: http
     9        port: 80
    10        protocol: TCP
    11        targetPort: 8000
    12      - name: https
    13        port: 443
    14        protocol: TCP
    15        targetPort: 8000
    16    selector:{{ include "common.labels.matchLabels" . | nindent 4 }}
    17    type: ClusterIP