github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/scanners/helm/test/testdata/testchart/templates/tests/test-connection.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: "{{ include "testchart.fullname" . }}-test-connection"
     5    labels:
     6      {{- include "testchart.labels" . | nindent 4 }}
     7    annotations:
     8      "helm.sh/hook": test
     9  spec:
    10    containers:
    11      - name: wget
    12        image: busybox
    13        command: ['wget']
    14        args: ['{{ include "testchart.fullname" . }}:{{ .Values.service.port }}']
    15    restartPolicy: Never