github.com/lrills/helm@v2.8.1+incompatible/docs/examples/nginx/templates/service-test.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 name: "{{ template "nginx.fullname" . }}-service-test" 5 labels: 6 heritage: {{ .Release.Service }} 7 release: {{ .Release.Name }} 8 chart: {{ .Chart.Name }}-{{ .Chart.Version }} 9 app: {{ template "nginx.name" . }} 10 annotations: 11 "helm.sh/hook": test-success 12 spec: 13 containers: 14 - name: curl 15 image: radial/busyboxplus:curl 16 command: ['curl'] 17 args: ['{{ template "nginx.fullname" . }}:{{ .Values.service.port }}'] 18 restartPolicy: Never