Skip to content

Commit

Permalink
feat: add graphql-server test
Browse files Browse the repository at this point in the history
  • Loading branch information
omidasadpour committed Aug 11, 2023
1 parent 74c8fc1 commit 98ab978
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "validator.fullname" . }}-test-connection"
labels: {{- include "validator.labels" . | nindent 4 }}
name: "{{ .Release.Name }}-graphql-server-http-check"
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
- name: http-check
image: busybox
command: ['wget']
args: ['{{ include "validator.fullname" . }}-graphql-server:{{ .Values.endpoints.graphqlServer.service.port }}']
restartPolicy: Never
args: ['--spider', '--timeout=5', 'http://{{ include "validator.fullname" . }}-graphql-server:{{ .Values.endpoints.graphqlServer.service.port }}']
restartPolicy: Never

0 comments on commit 98ab978

Please sign in to comment.