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