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