Skip to content

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

feat: add support of imagePullSecrets

Alexander Sharovc0952e057f6e
diff --git a/deploy/helm/README.md b/deploy/helm/README.md
index d600e1f9..24c106cd 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 f057a150..7e73a0c3 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 b81d82be..a0ae702e 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: []