Skip to content

Commit

Permalink
chore: cleanup deployment values
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Oct 22, 2024
1 parent d457789 commit 15d542a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
12 changes: 10 additions & 2 deletions charts/radix-ingress-deafult-backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ spec:
value: {{ .Values.logPretty | quote }}
- name: LOG_LEVEL
value: {{ .Values.logLevel | quote }}
- name: PROMETHEUS
value: {{ .Values.prometheusUrl | quote }}
- name: ERROR_FILES_PATH
value: {{ .Values.errorFilesPath | quote }}
- name: PORT
value: {{ .Values.port | quote }}
- name: DEFAULT_RESPONSE_FORMAT
value: {{ .Values.defaultResponseFormat | quote }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
Expand All @@ -64,3 +68,7 @@ spec:
capabilities:
drop:
- ALL
readinessProbe:
httpGet:
port: {{ .Values.port | quote }}
path: /healthz
7 changes: 4 additions & 3 deletions charts/radix-ingress-deafult-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ deploymentAnnotations: {}
# Extra pod labels
podLabels: {}

# Logging
logLevel: info
logLevel: "info"
logPretty: "False"
prometheusUrl: ""
port: "8000"
errorFilesPath: "./www"
defaultResponseFormat: "text/html"

resources:
limits:
Expand Down

0 comments on commit 15d542a

Please sign in to comment.