Loading assets/auto-deploy-app/templates/worker-deployment.yaml +6 −1 Original line number Diff line number Diff line Loading @@ -120,8 +120,12 @@ items: timeoutSeconds: {{ $readinessProbeConfig.timeoutSeconds }} {{- end }} {{- end }} {{- if $workerConfig.preStopCommand }} {{- if or $workerConfig.lifecycle $workerConfig.preStopCommand }} lifecycle: {{- if $workerConfig.lifecycle }} {{ toYaml $workerConfig.lifecycle | indent 12 }} {{- end }} {{- if $workerConfig.preStopCommand }} preStop: exec: command: Loading @@ -129,6 +133,7 @@ items: - {{ . }} {{- end }} {{- end}} {{- end }} resources: {{ toYaml $.Values.resources | indent 12 }} {{- end -}} Loading assets/auto-deploy-app/values.yaml +4 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,10 @@ workers: {} # timeoutSeconds: 3 # scheme: "HTTP" # probeType: "httpGet" # lifecycle: # preStop: # exec: # command: ["/bin/sh", "-c", "sleep 10"] # preStopCommand: # - /bin/herokuish # - procfile Loading Loading
assets/auto-deploy-app/templates/worker-deployment.yaml +6 −1 Original line number Diff line number Diff line Loading @@ -120,8 +120,12 @@ items: timeoutSeconds: {{ $readinessProbeConfig.timeoutSeconds }} {{- end }} {{- end }} {{- if $workerConfig.preStopCommand }} {{- if or $workerConfig.lifecycle $workerConfig.preStopCommand }} lifecycle: {{- if $workerConfig.lifecycle }} {{ toYaml $workerConfig.lifecycle | indent 12 }} {{- end }} {{- if $workerConfig.preStopCommand }} preStop: exec: command: Loading @@ -129,6 +133,7 @@ items: - {{ . }} {{- end }} {{- end}} {{- end }} resources: {{ toYaml $.Values.resources | indent 12 }} {{- end -}} Loading
assets/auto-deploy-app/values.yaml +4 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,10 @@ workers: {} # timeoutSeconds: 3 # scheme: "HTTP" # probeType: "httpGet" # lifecycle: # preStop: # exec: # command: ["/bin/sh", "-c", "sleep 10"] # preStopCommand: # - /bin/herokuish # - procfile Loading