init
All checks were successful
Publish Helm Chart / Build and publish Helm chart (push) Successful in 5s

This commit is contained in:
2025-11-11 03:50:36 +03:00
commit 964231c369
11 changed files with 333 additions and 0 deletions

18
templates/service.yaml Normal file
View File

@@ -0,0 +1,18 @@
{{- if .Values.services }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.name }}
labels:
{{- include "template.labels" . | nindent 4 }}
spec:
type: ClusterIP
ports:
{{- range $name, $s := .Values.services }}
- name: {{ $name }}
port: {{ $s.port }}
protocol: {{ $s.protocol }}
{{- end}}
selector:
{{- include "template.selectorLabels" . | nindent 4 }}
{{- end }}