github.com/umeshredd/helm@v3.0.0-alpha.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      app.kubernetes.io/managed-by: {{ .Release.Service }}
     7      app.kubernetes.io/instance: {{ .Release.Name }}
     8      helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }}
     9      app.kubernetes.io/name: {{ 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