21 lines
438 B
YAML
21 lines
438 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Release.Name }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "basic-app.labels" . | nindent 4 }}
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 80
|
|
targetPort: http-svc
|
|
protocol: TCP
|
|
name: http
|
|
- port: 8000
|
|
targetPort: webhook-svc
|
|
protocol: TCP
|
|
name: webhook
|
|
selector:
|
|
{{- include "basic-app.selectorLabels" . | nindent 4 }}
|