apiVersion: v1 kind: Service metadata: name: $MR_STUB_APP_NAME namespace: $KUBE_ONAP_NAMESPACE labels: run: $MR_STUB_APP_NAME autotest: MR spec: type: ClusterIP ports: - port: $MR_EXTERNAL_PORT targetPort: $MR_INTERNAL_PORT protocol: TCP name: http - port: $MR_EXTERNAL_SECURE_PORT targetPort: $MR_INTERNAL_SECURE_PORT protocol: TCP name: https selector: run: $MR_STUB_APP_NAME