Add initial codes
[it/test.git] / test_scripts / subscription / test-subscription-helmchart-1.0.3 / templates / tests / test-connection.yaml
1 apiVersion: v1
2 kind: Pod
3 metadata:
4   name: "{{ include "adm-ctrl-xapp.fullname" . }}-test-connection"
5   labels:
6     app.kubernetes.io/name: {{ include "adm-ctrl-xapp.name" . }}
7     helm.sh/chart: {{ include "adm-ctrl-xapp.chart" . }}
8     app.kubernetes.io/instance: {{ .Release.Name }}
9     app.kubernetes.io/managed-by: {{ .Release.Service }}
10   annotations:
11     "helm.sh/hook": test-success
12 spec:
13   containers:
14     - name: wget
15       image: busybox
16       command: ['wget']
17       args:  ['{{ include "adm-ctrl-xapp.fullname" . }}:{{ .Values.service.port }}']
18   restartPolicy: Never