mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-08-23 04:32:52 +02:00
16 lines
428 B
YAML
16 lines
428 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "gcore-webhook.fullname" . }}
|
|
labels:
|
|
{{ include "gcore-webhook.labels" . | indent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: https
|
|
protocol: TCP
|
|
name: https
|
|
selector:
|
|
app.kubernetes.io/name: {{ include "gcore-webhook.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|