diff options
author | 2023-03-31 19:42:13 +0000 | |
---|---|---|
committer | 2023-03-31 19:42:13 +0000 | |
commit | 1d93334b79aee33512fdf1dd1e3f7b17974c6d20 (patch) | |
tree | 79aec033ec706c0386539f1fc893049d3fdcfee9 /kubernetes/aai/components/aai-babel/templates/service.yaml | |
parent | 6deab46892efca8727efab7a590760683b75d06e (diff) | |
parent | 5846a6e2d0faa43d5abf23d79bd556508bb87d2d (diff) |
Merge "[AAI] Update Service definitions to support Ingress case"
Diffstat (limited to 'kubernetes/aai/components/aai-babel/templates/service.yaml')
-rw-r--r-- | kubernetes/aai/components/aai-babel/templates/service.yaml | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/kubernetes/aai/components/aai-babel/templates/service.yaml b/kubernetes/aai/components/aai-babel/templates/service.yaml index 87a29db457..86141abe90 100644 --- a/kubernetes/aai/components/aai-babel/templates/service.yaml +++ b/kubernetes/aai/components/aai-babel/templates/service.yaml @@ -16,29 +16,4 @@ # limitations under the License. */}} -apiVersion: v1 -kind: Service -metadata: - name: {{ include "common.servicename" . }} - namespace: {{ include "common.namespace" . }} - labels: - app: {{ include "common.name" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ include "common.release" . }} - heritage: {{ .Release.Service }} -spec: - type: {{ .Values.service.type }} - ports: - {{- if eq .Values.service.type "NodePort" }} - - port: {{ .Values.service.internalPort }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - name: {{ .Values.service.portName }}{{ (eq "true" (include "common.needTLS" .)) | ternary "s" "" }} - {{- else }} - - port: {{ .Values.service.externalPort }} - targetPort: {{ .Values.service.internalPort }} - name: {{ .Values.service.portName }}{{ (eq "true" (include "common.needTLS" .)) | ternary "s" "" }} - {{- end }} - - selector: - app: {{ include "common.name" . }} - release: {{ include "common.release" . }} +{{ include "common.service" . }} |