BotDiscord/chart/templates/Service.yaml
2024-06-28 01:12:45 +02:00

20 lines
522 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}"
labels:
app: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}"
{{- include "mychart.labels" . | nindent 2 }}
annotations:
deployment.kubernetes.io/revision: "{{ .Release.Revision }}"
deployment.git-branch: "{{ .Values.image.tag }}"
spec:
ports:
- port: 5437
targetPort: 5437
name: http
selector:
app: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}"
type: ClusterIP