Files
openresty/templates/service.yaml
2024-11-28 14:51:08 +03:00

16 lines
373 B
YAML

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