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=7a43fbd4642448783aaf708d07ca883bf9bc5afd;hp=aedd1b00b52ad31dc7fc602919be583ff9785ed9;hpb=282e7af25ec053ae6d1c5a399c91c2c323f705cd;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 -}}