X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Finfrastructure%2Fsubcharts%2Fkong%2Ftemplates%2Fservice-kong-portal-api.yaml;h=1f61ac2957eef409de3e2b7ce3d1e5b412c90b83;hb=e8cf06011b3a15ed711385bc180802c2d869c26c;hp=aedd1b00b52ad31dc7fc602919be583ff9785ed9;hpb=38dc857062b14145f5b9db89d10eba0ae5b90d11;p=ric-plt%2Fric-dep.git diff --git a/helm/infrastructure/subcharts/kong/templates/service-kong-portal-api.yaml b/helm/infrastructure/subcharts/kong/templates/service-kong-portal-api.yaml index aedd1b0..1f61ac2 100755 --- a/helm/infrastructure/subcharts/kong/templates/service-kong-portal-api.yaml +++ b/helm/infrastructure/subcharts/kong/templates/service-kong-portal-api.yaml @@ -8,10 +8,7 @@ metadata: {{ $key }}: {{ $value | quote }} {{- end }} labels: - app: {{ template "kong.name" . }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" + {{- include "kong.metaLabels" . | nindent 4 }} spec: type: {{ .Values.portalapi.type }} {{- if eq .Values.portalapi.type "LoadBalancer" }} @@ -48,10 +45,6 @@ spec: {{- end }} protocol: TCP {{- end }} - - selector: - app: {{ template "kong.name" . }} - release: {{ .Release.Name }} - component: app + {{- include "kong.selectorLabels" . | nindent 4 }} {{- end -}}