Skip to content

Commit 64c36d0

Browse files
authored
Merge pull request #62 from kingdonb/pr-61-rebased
feat(builder): add git_lock_timeout in values.yml
2 parents 06ecfa8 + 5c21be2 commit 64c36d0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

charts/builder/templates/builder-deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ spec:
5757
value: "{{ .Values.global.registry_location }}"
5858
- name: "DEIS_REGISTRY_SECRET_PREFIX"
5959
value: "{{ .Values.global.secret_prefix }}"
60-
# Set GIT_LOCK_TIMEOUT to number of minutes you want to wait to git push again to the same repository
6160
- name: "GIT_LOCK_TIMEOUT"
61+
{{- if (.Values.git_lock_timeout) }}
62+
value: "{{ .Values.git_lock_timeout }}"
63+
{{- else }}
6264
value: "10"
65+
{{- end }}
6366
- name: "SLUGBUILDER_IMAGE_NAME"
6467
valueFrom:
6568
configMapKeyRef:

charts/builder/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ docker_tag: canary
44
# limits_cpu: "100m"
55
# limits_memory: "50Mi"
66
# builder_pod_node_selector: "disk:ssd"
7+
# git_lock_timeout: 10 # number of minutes you want to wait to git push again to the same repository (default 10)
78

89
global:
910
# Experimental feature to toggle using kubernetes ingress instead of the Deis router.

0 commit comments

Comments
 (0)