This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user