feat: add helm chart for deployment to k8s
This commit is contained in:
parent
917376899c
commit
bb1a9403bb
14 changed files with 218 additions and 1 deletions
14
deploy/templates/service.yaml
Normal file
14
deploy/templates/service.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port.number }}
|
||||
targetPort: {{ .Values.service.port.number }}
|
||||
protocol: TCP
|
||||
name: {{ .Values.service.port.name }}
|
||||
selector:
|
||||
app.kubernetes.io/name: {{ .Chart.Name }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
Reference in a new issue