diff --git a/deploy/helm/templates/service.yaml b/deploy/helm/templates/service.yaml index 4219c84..52e6516 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 c77070c..b81d82b 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: