mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-30 13:29:04 +00:00
20 lines
512 B
YAML
20 lines
512 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "unifi.fullname" . }}-controller
|
|
labels:
|
|
app: {{ template "unifi.name" . }}
|
|
chart: {{ template "unifi.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
spec:
|
|
type: {{ .Values.controllerService.type }}
|
|
ports:
|
|
- port: {{ .Values.controllerService.port }}
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
name: controller
|
|
selector:
|
|
app: {{ template "unifi.name" . }}
|
|
release: {{ .Release.Name }}
|