github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/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