@@ -5,7 +5,7 @@ metadata:
55 labels :
66 heritage : drycc
77 annotations :
8- component.drycc.cc/version : {{ .Values.image_tag }}
8+ component.drycc.cc/version : {{ .Values.imageTag }}
99spec :
1010 replicas : 1
1111 strategy :
@@ -25,55 +25,55 @@ spec:
2525 initContainers :
2626 - name : drycc-builder-init
2727 image : docker.io/drycc/python-dev:latest
28- imagePullPolicy : {{.Values.image_pull_policy }}
28+ imagePullPolicy : {{.Values.imagePullPolicy }}
2929 command :
3030 - netcat
3131 - -v
3232 - -a
3333 - $(DRYCC_MINIO_SERVICE_HOST):$(DRYCC_MINIO_SERVICE_PORT)
3434 containers :
3535 - name : drycc-builder
36- image : {{.Values.image_registry }}/{{.Values.image_org }}/builder:{{.Values.image_tag }}
37- imagePullPolicy : {{.Values.image_pull_policy }}
36+ image : {{.Values.imageRegistry }}/{{.Values.imageOrg }}/builder:{{.Values.imageTag }}
37+ imagePullPolicy : {{.Values.imagePullPolicy }}
3838 ports :
3939 - containerPort : 2223
4040 name : ssh
4141 - containerPort : 8092
4242 name : healthsrv
43- {{- if or (.Values.limits_cpu ) (.Values.limits_memory )}}
43+ {{- if or (.Values.limitsCpu ) (.Values.limitsMemory )}}
4444 resources :
4545 limits :
46- {{- if (.Values.limits_cpu ) }}
47- cpu : {{.Values.limits_cpu }}
46+ {{- if (.Values.limitsCpu ) }}
47+ cpu : {{.Values.limitsCpu }}
4848{{- end}}
49- {{- if (.Values.limits_memory ) }}
50- memory : {{.Values.limits_memory }}
49+ {{- if (.Values.limitsMemory ) }}
50+ memory : {{.Values.limitsMemory }}
5151{{- end}}
5252{{- end}}
5353 env :
5454 # NOTE(bacongobbler): use drycc/registry_proxy to work around Docker --insecure-registry requirements
5555 - name : " DRYCC_REGISTRY_PROXY_HOST"
5656 value : " 127.0.0.1"
5757 - name : " DRYCC_REGISTRY_PROXY_PORT"
58- value : " {{ .Values.global.registry_proxy_port }}"
58+ value : " {{ .Values.global.registryProxyPort }}"
5959 - name : " HEALTH_SERVER_PORT"
6060 value : " 8092"
6161 - name : " EXTERNAL_PORT"
6262 value : " 2223"
6363 - name : BUILDER_STORAGE
6464 value : " {{ .Values.global.storage }}"
6565 - name : " DRYCC_REGISTRY_LOCATION"
66- value : " {{ .Values.global.registry_location }}"
66+ value : " {{ .Values.global.registryLocation }}"
6767 - name : " TTL_SECONDS_AFTER_FINISHED"
68- value : " {{ .Values.global.ttl_seconds_after_finished }}"
68+ value : " {{ .Values.global.ttlSecondsAfterFinished }}"
6969 # Set GIT_LOCK_TIMEOUT to number of minutes you want to wait to git push again to the same repository
7070 - name : " GIT_LOCK_TIMEOUT"
7171 value : " 30"
7272 - name : IMAGEBUILDER_IMAGE_PULL_POLICY
7373 valueFrom :
7474 configMapKeyRef :
7575 name : imagebuilder-config
76- key : image_pull_policy
76+ key : imagePullPolicy
7777 # This var needs to be passed so that the minio client (https://github.com/minio/mc) will work in Alpine linux
7878 - name : " DOCKERIMAGE"
7979 value : " 1"
0 commit comments