Merge pull request #464 from kvendingoldo/main

feat: add support of imagePullSecrets
This commit is contained in:
Rostislav Dugin
2026-03-24 18:00:15 +03:00
committed by GitHub
4 changed files with 15 additions and 4 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

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

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,12 +17,12 @@ 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:
enabled: true
# Resource limits and requests
resources:
requests:
@@ -60,7 +62,7 @@ route:
kind: HTTPRoute
annotations: {}
hostnames:
- databasus.example.com
- databasus.example.com
parentRefs: []
filters: []
matches: []