added cmd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Ehsan.Asadi
2025-12-31 10:53:20 +03:30
parent 1043d9902f
commit afff7b88da
3 changed files with 15 additions and 1 deletions

View File

@@ -34,6 +34,12 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.command }}
command: {{- toYaml .Values.command | nindent 12 }}
{{- end }}
{{- if .Values.args }}
args: {{- toYaml .Values.args | nindent 12 }}
{{- end }}
ports:
- name: backend
containerPort: {{ .Values.service.backend.targetPort }}

View File

@@ -18,7 +18,9 @@ registrySecret:
imagePullSecrets:
- name: hub-registry-secret
# Auto-create application secrets (database, redis, etc)
command: ["/bin/bash", "-c" ,"sleep infinity"]
appSecrets:
enabled: false # Set to true if you need database/redis
name: peikarband-prod-secrets

View File

@@ -152,6 +152,12 @@ readinessProbe:
timeoutSeconds: 3
failureThreshold: 3
# Container command and args
# If command is set, it will override the Dockerfile CMD
# If args is set, it will be appended to the command
command: [] # Leave empty to use Dockerfile CMD, or set to override: ["/usr/local/bin/entrypoint.sh"]
args: [] # Leave empty to use Dockerfile CMD args, or set: ["run", "--env", "prod"]
env:
- name: REFLEX_ENV
value: "prod"