apiVersion: v1
kind: Pod
metadata:
  name: "{{ .Release.Name }}-main-endpoint-test"
  annotations:
    "helm.sh/hook": test-success
spec:
  restartPolicy: Never
  containers:
    - name: "{{ .Release.Name }}-main-endpoint-test"
      image: ibmcom/icp-nodejs-sample:latest
      command: ["wget"]
      args:  ['{{ template "fullname" . }}:{{ .Values.service.port }}']
