Ajout ingress et service pour Twurple

This commit is contained in:
2025-06-10 11:09:12 +02:00
parent 066a3864dd
commit 4ed73f7c72
3 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{{- if .Values.service.enabled }}
apiVersion: v1
kind: Service
metadata:
name: "{{ .Release.Name }}-{{ .Values.service.name }}"
spec:
type: {{ .Values.service.type }}
ports:
- name: {{ .Values.service.name }}
port: {{ .Values.deployment.env.TWURPLE_PORT | default .Values.service.port }}
targetPort: {{ .Values.deployment.env.TWURPLE_PORT | default .Values.service.port }}
protocol: TCP
selector:
{{ .Release.Name }}
{{- end }}