webhooks/alloydb-nodeselector-mwh/helm/omni-nodeselector-mutator/templates/service.yaml (15 lines of code) (raw):
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.deploymentName }}-svc
labels:
{{- include "omni-nodeselector-mutator.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: https
protocol: TCP
name: https
selector:
{{- include "omni-nodeselector-mutator.selectorLabels" . | nindent 4 }}