Skip to content

Commit

Permalink
chore: 🤖 move value to "docker" since dockerImage is overridden
Browse files Browse the repository at this point in the history
See Makefile
  • Loading branch information
severo committed Jan 2, 2023
1 parent 7325e9d commit c18120f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chart/templates/worker/first-rows/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- define "containerWorkerFirstRows" -}}
- name: "{{ include "name" . }}-worker-first-rows"
image: {{ .Values.dockerImage.workers.datasets_based }}
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.docker.pullPolicy }}
env:
- name: DATASETS_BASED_ENDPOINT
value: "/first-rows"
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/worker/parquet/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- define "containerWorkerParquet" -}}
- name: "{{ include "name" . }}-worker-parquet"
image: {{ .Values.dockerImage.workers.datasets_based }}
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.docker.pullPolicy }}
env:
- name: DATASETS_BASED_ENDPOINT
value: "/parquet"
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/worker/splits/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- define "containerWorkerSplits" -}}
- name: "{{ include "name" . }}-worker-splits"
image: {{ .Values.dockerImage.workers.datasets_based }}
imagePullPolicy: {{ .Values.dockerImage.pullPolicy }}
imagePullPolicy: {{ .Values.docker.pullPolicy }}
env:
- name: DATASETS_BASED_ENDPOINT
value: "/splits"
Expand Down
6 changes: 4 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ mongodb:

imagePullSecrets: []

# overridden by docker-images.yaml (which must be in JSON format!)
dockerImage:
docker:
pullPolicy: IfNotPresent

# overridden by docker-images.yaml (which must be in JSON format!). See Makefile for details.
dockerImage:
reverseProxy: ""
jobs:
mongodb_migration: ""
Expand Down

0 comments on commit c18120f

Please sign in to comment.