Skip to content

Commit

Permalink
created test connection
Browse files Browse the repository at this point in the history
  • Loading branch information
rogras committed May 22, 2020
1 parent 931a82a commit 1c38e0d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "krakend.fullname" . }}-test-connection"
labels:
{{- include "krakend.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "krakend.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never

0 comments on commit 1c38e0d

Please sign in to comment.