mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
feat(helm): add service annotations support
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user