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