X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Finfrastructure%2Fsubcharts%2Fkong%2Ftemplates%2Fservice-kong-portal.yaml;h=c75b0b766c5f64ab3d0e68026934a1d97fdf1668;hb=refs%2Fchanges%2F24%2F3824%2F3;hp=1e336daffb39b85cc67fad17202693a624eee859;hpb=38dc857062b14145f5b9db89d10eba0ae5b90d11;p=ric-plt%2Fric-dep.git diff --git a/helm/infrastructure/subcharts/kong/templates/service-kong-portal.yaml b/helm/infrastructure/subcharts/kong/templates/service-kong-portal.yaml old mode 100755 new mode 100644 index 1e336da..c75b0b7 --- a/helm/infrastructure/subcharts/kong/templates/service-kong-portal.yaml +++ b/helm/infrastructure/subcharts/kong/templates/service-kong-portal.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.portal.type }} {{- if eq .Values.portal.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 -}}