Skip to content
Snippets Groups Projects
test-connection.yaml 376 B
Newer Older
  • Learn to ignore specific revisions
  • apiVersion: v1
    kind: Pod
    metadata:
      name: "{{ include "common.fullname" . }}-test-connection"
      labels:
        {{- include "common.labels" . | nindent 4 }}
      annotations:
        "helm.sh/hook": test
    spec:
      containers:
        - name: wget
          image: busybox
          command: ['wget']
          args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
      restartPolicy: Never