github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/pkg/scanners/helm/test/testdata/testchart/templates/service.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 name: {{ include "testchart.fullname" . }} 5 labels: 6 {{- include "testchart.labels" . | nindent 4 }} 7 spec: 8 type: {{ .Values.service.type }} 9 ports: 10 - port: {{ .Values.service.port }} 11 targetPort: http 12 protocol: TCP 13 name: http 14 selector: 15 {{- include "testchart.selectorLabels" . | nindent 4 }}