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