feat(helm): add service annotations support

This commit is contained in:
gordon
2026-03-15 16:40:56 +01:00
parent 415dda8752
commit 6c4f814c94
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ metadata:
namespace: {{ include "databasus.namespace" . }}
labels:
{{- include "databasus.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:

View File

@@ -17,10 +17,10 @@ service:
type: ClusterIP
port: 4005 # Service port
targetPort: 4005 # Internal container port
annotations: {}
# Headless service for StatefulSet
headless:
enabled: true
# Resource limits and requests
resources:
requests: