initial commit
This commit is contained in:
commit
1253955070
75 changed files with 13972 additions and 0 deletions
15
charts/api/templates/service.yaml
Normal file
15
charts/api/templates/service.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "go-places.fullname" . }}
|
||||
labels:
|
||||
{{- include "go-places.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }} # Should be ClusterIP for internal communication
|
||||
ports:
|
||||
- port: {{ .Values.service.port }} # Port the Service exposes internally
|
||||
targetPort: http # TargetPort should match the containerPort in deployment.yaml
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "go-places.selectorLabels" . | nindent 4 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue