feat: add support of imagePullSecrets

Signed-off-by: Alexander Sharov <kvendingoldo@yandex.ru>
This commit is contained in:
Alexander Sharov
2026-03-24 18:53:10 +04:00
parent b4d4e0a1d7
commit c0952e057f
3 changed files with 10 additions and 3 deletions

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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: []