{{- if .Values.aga.enabled -}} apiVersion: v1 kind: Service metadata: name: "{{ include "gateway.fullname" . }}-aga" labels: {{- include "gateway.labels" . | nindent 4 }} app.kubernetes.io/component: aga spec: type: {{ .Values.aga.service.type }} ports: - port: {{ .Values.aga.service.ports.ui.port }} targetPort: {{ .Values.aga.service.ports.ui.port }} protocol: {{ .Values.aga.service.ports.ui.protocol }} name: apianalyticsui selector: {{- include "gateway.selectorLabels" . | nindent 4 }} app.kubernetes.io/component: aga {{- end }}