Files
railiance-apps/charts/reuse-surface/templates/landing-service.yaml

19 lines
446 B
YAML

{{- if .Values.landing.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "reuse.landingFullname" . }}
labels:
{{- include "reuse.labels" . | nindent 4 }}
app.kubernetes.io/component: landing
spec:
type: ClusterIP
selector:
{{- include "reuse.landingSelectorLabels" . | nindent 4 }}
ports:
- name: http
port: {{ .Values.landing.service.port }}
targetPort: http
protocol: TCP
{{- end }}