Files
osirose-new/charts/osirose-new/templates/service.yaml
raven eebf5c58e0 - add: helm chart
- add: python script for building and pushing the containers
2025-03-17 23:59:33 -04:00

21 lines
451 B
YAML

{{- range .Values.services }}
{{- if .tcp.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ .name }}
labels:
app: {{ .name }}
spec:
type: {{ .tcp.type | default "ClusterIP" }}
ports:
- name: {{ .tcp.portName | default "tcp" }}
port: {{ .tcp.port }}
targetPort: {{ .tcp.targetPort | default .tcp.port }}
protocol: {{ .tcp.protocol | default "TCP" }}
selector:
app: {{ .name }}
{{- end }}
---
{{- end }}