X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=otf-ssh-test-head%2Fhelm%2Fotf-ssh-test-head%2Ftemplates%2Fservice.yaml;fp=otf-ssh-test-head%2Fhelm%2Fotf-ssh-test-head%2Ftemplates%2Fservice.yaml;h=f3bcfab83211560466d91d5d6ebc1c7d4f436263;hp=0000000000000000000000000000000000000000;hb=f49bd1efeaaddd4891c1f329b18d8cfb28b3e75b;hpb=5d8b2580c97e466f9c5a6c78693c24277d94244c diff --git a/otf-ssh-test-head/helm/otf-ssh-test-head/templates/service.yaml b/otf-ssh-test-head/helm/otf-ssh-test-head/templates/service.yaml new file mode 100644 index 0000000..f3bcfab --- /dev/null +++ b/otf-ssh-test-head/helm/otf-ssh-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}}