add helm chart files

This commit is contained in:
aleksandr.vodyanov
2024-08-19 13:21:47 +03:00
parent 81b64731fc
commit 9dee441084
10 changed files with 419 additions and 0 deletions

15
templates/service.yaml Normal file
View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "myHelmChart.fullname" . }}
labels:
{{- include "myHelmChart.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "myHelmChart.selectorLabels" . | nindent 4 }}