X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sample-services%2Fhello-world%2Fhello-world-chart%2Ftemplates%2Fservice.yaml;fp=sample-services%2Fhello-world%2Fhello-world-chart%2Ftemplates%2Fservice.yaml;h=9fa5e7a053e0c56c053de30cf6086103b7505d4d;hb=0f1c16fd071c70215eed25fa45ecce4803c83d72;hp=d5b9f5d475f9dba69c4dbe854d41fc08fc1b51ad;hpb=2f3b268bbbe457a9b5078670dae7e78571bdb265;p=nonrtric.git diff --git a/sample-services/hello-world/hello-world-chart/templates/service.yaml b/sample-services/hello-world/hello-world-chart/templates/service.yaml index d5b9f5d4..9fa5e7a0 100644 --- a/sample-services/hello-world/hello-world-chart/templates/service.yaml +++ b/sample-services/hello-world/hello-world-chart/templates/service.yaml @@ -2,7 +2,7 @@ # ========================LICENSE_START================================= # O-RAN-SC # %% -# Copyright (C) 2023: OpenInfra Foundation Europe +# Copyright (C) 2023-2024: OpenInfra Foundation Europe # %% # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,9 +21,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "hello-world-chart.fullname" . }} - labels: - {{- include "hello-world-chart.labels" . | nindent 4 }} + name: hello-world-chart-service spec: type: {{ .Values.service.type }} ports: @@ -32,5 +30,5 @@ spec: protocol: TCP name: http selector: - {{- include "hello-world-chart.selectorLabels" . | nindent 4 }} + app: hello-world-chart-container