apiVersion: v1 kind: Pod metadata: name: "{{ include "gitks.fullname" . }}-test-connection" labels: {{- include "gitks.labels" . | nindent 4 }} annotations: "helm.sh/hook": test "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: containers: - name: grpc-health image: fullstorydev/grpcurl:latest command: ['grpcurl'] args: - -plaintext - -connect-timeout - "5" - {{ include "gitks.fullname" . }}:{{ .Values.service.port }} - list restartPolicy: Never