@@ -5,10 +5,10 @@ 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 schedule : " 0 0 * * *"
11- concurrencyPolicy : {{ .Values.concurrency_policy }}
11+ concurrencyPolicy : {{ .Values.concurrencyPolicy }}
1212 successfulJobsHistoryLimit : 1
1313 failedJobsHistoryLimit : 1
1414 jobTemplate :
2020 initContainers :
2121 - name : drycc-controller-cronjob-daily-init
2222 image : docker.io/drycc/python-dev:latest
23- imagePullPolicy : {{.Values.image_pull_policy }}
23+ imagePullPolicy : {{.Values.imagePullPolicy }}
2424 command :
2525 - netcat
2626 - -v
@@ -30,16 +30,16 @@ spec:
3030 - $(DRYCC_REDIS_ADDRS)
3131 {{- include "controller.envs" . | indent 12 }}
3232 containers :
33- - image : {{.Values.image_registry }}/{{.Values.image_org }}/controller:{{.Values.image_tag }}
34- imagePullPolicy : {{.Values.image_pull_policy }}
33+ - image : {{.Values.imageRegistry }}/{{.Values.imageOrg }}/controller:{{.Values.imageTag }}
34+ imagePullPolicy : {{.Values.imagePullPolicy }}
3535 name : drycc-controller-load-db-state-to-k8s
3636 command :
3737 - /bin/bash
3838 - -c
3939 args :
4040 - python /app/manage.py load_db_state_to_k8s
4141 {{- include "controller.envs" . | indent 12 }}
42- - image : {{.Values.image_registry }}/{{.Values.image_org }}/controller:{{.Values.image_tag }}
42+ - image : {{.Values.imageRegistry }}/{{.Values.imageOrg }}/controller:{{.Values.imageTag }}
4343 imagePullPolicy : {{.Values.pull_policy}}
4444 name : drycc-controller-measure-apps
4545 command :
4848 args :
4949 - python -u /app/manage.py measure_apps
5050 {{- include "controller.envs" . | indent 12 }}
51- - image : {{.Values.image_registry }}/{{.Values.image_org }}/controller:{{.Values.image_tag }}
51+ - image : {{.Values.imageRegistry }}/{{.Values.imageOrg }}/controller:{{.Values.imageTag }}
5252 imagePullPolicy : {{.Values.pull_policy}}
5353 name : drycc-controller-measure-resources
5454 command :
5757 args :
5858 - python -u /app/manage.py measure_resources
5959 {{- include "controller.envs" . | indent 12 }}
60- - image : {{.Values.image_registry }}/{{.Values.image_org }}/controller:{{.Values.image_tag }}
60+ - image : {{.Values.imageRegistry }}/{{.Values.imageOrg }}/controller:{{.Values.imageTag }}
6161 imagePullPolicy : {{.Values.pull_policy}}
6262 name : drycc-controller-measure-volumes
6363 command :
0 commit comments