Skip to content

Commit

Permalink
fix: move jobDefinitions outside from env (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
almog8k authored Oct 21, 2024
1 parent 53d4355 commit ca27efb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion helm/templates/_tplValues.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ Custom definitions
{{- end -}}

{{- define "common.jobDefinitions.merged" -}}
{{- include "common.tplvalues.merge" ( dict "values" ( list .Values.env.jobDefinitions .Values.global.jobDefinitions ) "context" . ) }}
{{- include "common.tplvalues.merge" ( dict "values" ( list .Values.jobDefinitions .Values.global.jobDefinitions ) "context" . ) }}
{{- end -}}
34 changes: 17 additions & 17 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,23 +103,7 @@ metrics:
prometheus:
scrape: false

env:
port: 8080
targetPort: 8080
protocol: TCP
logLevel: info
logPrettyPrintEnabled: false
logPinoCallerEnabled: false
responseCompressionEnabled: true
requestPayloadLimit: 1mb

httpRetry:
attempts: 5
delay: exponential
resetTimeout: 30000
disableHttpClientLogs: true

jobDefinitions:
jobDefinitions:
jobs:
new:
type: ""
Expand All @@ -142,6 +126,22 @@ env:
heartBeat:
intervalMs: 3000

env:
port: 8080
targetPort: 8080
protocol: TCP
logLevel: info
logPrettyPrintEnabled: false
logPinoCallerEnabled: false
responseCompressionEnabled: true
requestPayloadLimit: 1mb

httpRetry:
attempts: 5
delay: exponential
resetTimeout: 30000
disableHttpClientLogs: true

resources:
enabled: true
value:
Expand Down

0 comments on commit ca27efb

Please sign in to comment.