nile/templates/service.yaml

13 lines
356 B
YAML

apiVersion: v1
kind: Service
metadata:
name: { { include "nile.fullname" . } }
labels: { { - include "nile.labels" . | nindent 4 } }
spec:
type: { { .Values.service.type } }
ports:
- port: { { .Values.service.port } }
targetPort: http
protocol: TCP
name: http
selector: { { - include "nile.selectorLabels" . | nindent 4 } }