helm-chart/templates/tests/test-http-connection.yaml
JPRbrs 5398b99514 fix-test-pod (#56)
fix-test-pod

service name and port was wrong and was preventing the helm chart deployment

Co-authored-by: javier <perezrubio.javier@gmail.com>
Reviewed-on: gitea/helm-chart#56
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Co-Authored-By: JPRbrs <jprbrs@noreply.gitea.io>
Co-Committed-By: JPRbrs <jprbrs@noreply.gitea.io>
2020-11-17 15:35:07 +08:00

16 lines
387 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "gitea.fullname" . }}-test-connection"
labels:
{{ include "gitea.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "gitea.fullname" . }}-http:{{ .Values.service.http.port }}']
restartPolicy: Never