helm chart [wip]

This commit is contained in:
iPromKnight
2024-03-30 23:54:34 +00:00
parent c75ecd2707
commit f56f205bbe
21 changed files with 708 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{{ if .Values.infrastructure.postgres.enabled }}
apiVersion: v1
kind: Service
metadata:
name: '{{ .Release.Name }}-postgres'
labels:
component: postgres
project: '{{ .Chart.Name }}'
release: '{{ .Release.Name }}'
spec:
selector:
component: postgres
release: '{{ .Release.Name }}'
type: ClusterIP
ports:
- protocol: TCP
port: 5432
targetPort: 5432
{{- end -}}