X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=otf-robot-test-head%2Fhelm%2Fotf-robot-test-head%2Ftemplates%2Fservice.yaml;fp=otf-robot-test-head%2Fhelm%2Fotf-robot-test-head%2Ftemplates%2Fservice.yaml;h=f3bcfab83211560466d91d5d6ebc1c7d4f436263;hb=f49bd1efeaaddd4891c1f329b18d8cfb28b3e75b;hp=0000000000000000000000000000000000000000;hpb=5d8b2580c97e466f9c5a6c78693c24277d94244c;p=it%2Fotf.git diff --git a/otf-robot-test-head/helm/otf-robot-test-head/templates/service.yaml b/otf-robot-test-head/helm/otf-robot-test-head/templates/service.yaml new file mode 100644 index 0000000..f3bcfab --- /dev/null +++ b/otf-robot-test-head/helm/otf-robot-test-head/templates/service.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.appName }} + namespace: {{ .Values.namespace}} + labels: + app: {{ .Values.appName }} + version: {{ .Values.version}} +spec: + type: NodePort + ports: + - name: http + port: 5000 + protocol: TCP + nodePort: {{ .Values.nodePort}} + selector: + app: {{ .Values.appName }} + version: {{ .Values.version}}