Files
2026-08-26 03:39:42 +05:30

27 lines
738 B
YAML

{{- if .Values.global.aurva_proxy.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "aurva-proxy.fullname" . }}
namespace: {{ template "application.namespace" $ }}
labels:
{{- include "application.labels" . | nindent 4 }}
{{- if .Values.aurva_proxy.additionalLabels }}
{{ toYaml .Values.aurva_proxy.additionalLabels | indent 4 }}
{{- end }}
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: nlb
spec:
type: LoadBalancer
selector:
{{ include "aurva-proxy.selectorLabels" . | indent 4 }}
{{- if .Values.aurva_proxy.podLabels }}
{{ toYaml .Values.aurva_proxy.podLabels | indent 4 }}
{{- end }}
ports:
- protocol: TCP
port: 8089
targetPort: 8089
name: http
{{- end }}