github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/janus/templates/tests/test-connection.yaml (about)

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