Add reuse service landing page
This commit is contained in:
18
charts/reuse-surface/templates/landing-service.yaml
Normal file
18
charts/reuse-surface/templates/landing-service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- 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 }}
|
||||
Reference in New Issue
Block a user