5398b99514
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: https://gitea.com/gitea/helm-chart/pulls/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>
16 lines
387 B
YAML
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
|