From c0952e057f6e5bd38eb93509dd93731a657824f5 Mon Sep 17 00:00:00 2001 From: Alexander Sharov Date: Tue, 24 Mar 2026 18:53:10 +0400 Subject: [PATCH] feat: add support of imagePullSecrets Signed-off-by: Alexander Sharov --- deploy/helm/README.md | 1 + deploy/helm/templates/statefulset.yaml | 4 ++++ deploy/helm/values.yaml | 8 +++++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/deploy/helm/README.md b/deploy/helm/README.md index d600e1f..24c106c 100644 --- a/deploy/helm/README.md +++ b/deploy/helm/README.md @@ -30,6 +30,7 @@ Then open `http://localhost:4005` in your browser. | `image.repository` | Docker image | `databasus/databasus` | | `image.tag` | Image tag | `latest` | | `image.pullPolicy` | Image pull policy | `Always` | +| `imagePullSecrets` | Image pull secrets | `[]` | | `replicaCount` | Number of replicas | `1` | ### Custom Root CA diff --git a/deploy/helm/templates/statefulset.yaml b/deploy/helm/templates/statefulset.yaml index f057a15..7e73a0c 100644 --- a/deploy/helm/templates/statefulset.yaml +++ b/deploy/helm/templates/statefulset.yaml @@ -23,6 +23,10 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index b81d82b..a0ae702 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -6,6 +6,8 @@ image: tag: null pullPolicy: Always +imagePullSecrets: [] + # StatefulSet configuration replicaCount: 1 @@ -15,8 +17,8 @@ customRootCA: "" # Service configuration service: type: ClusterIP - port: 4005 # Service port - targetPort: 4005 # Internal container port + port: 4005 # Service port + targetPort: 4005 # Internal container port annotations: {} # Headless service for StatefulSet headless: @@ -60,7 +62,7 @@ route: kind: HTTPRoute annotations: {} hostnames: - - databasus.example.com + - databasus.example.com parentRefs: [] filters: [] matches: []