synapsecns/sanguine

View on GitHub
charts/scribe/templates/tests/test-connection.yaml

Summary

Maintainability
Test Coverage
apiVersion: v1
kind: Pod
metadata:
  name: "{{ include "scribe.fullname" . }}-test-connection"
  labels:
    {{- include "scribe.labels" . | nindent 4 }}
  annotations:
    "helm.sh/hook": test
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args: ['{{ include "scribe.fullname" . }}:{{ index .Values.service.ports 0 "port" }}/health-check']
  restartPolicy: Never