Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

feat(helm): add service annotations support

gordon6c4f814c9411
diff --git a/deploy/helm/templates/service.yaml b/deploy/helm/templates/service.yaml
index 4219c844..52e6516c 100644
--- a/deploy/helm/templates/service.yaml
+++ b/deploy/helm/templates/service.yaml
@@ -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:
diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml
index c77070c7..b81d82be 100644
--- a/deploy/helm/values.yaml
+++ b/deploy/helm/values.yaml
@@ -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: