mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-04 21:01:22 -03:00
fix standalone job spec
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Add the .Values as the main container */}}
|
||||
{{/* Add the .Values as the main container and as pod */}}
|
||||
{{/* This needs some redesign tbh */}}
|
||||
{{- $_ := set $jobValues "podSpec" .Values -}}
|
||||
{{- $_ := set $jobValues.podSpec "containers" dict -}}
|
||||
{{- $_ := set $jobValues.podSpec.containers "main" .Values -}}
|
||||
{{- $_ := set $jobValues.podSpec.containers.main "enabled" "true" -}}
|
||||
|
||||
Reference in New Issue
Block a user