Skip to content

Commit 99dba82

Browse files
authored
feat(pontoon): able to override busybox image (#4)
1 parent d970282 commit 99dba82

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

charts/pontoon/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: pontoon
33
home: https://github.com/mozilla/pontoon
4-
version: 1.5.0
4+
version: 1.6.0
55
# Pontoon no longer cuts releases.
66
# See https://github.com/mozilla/pontoon/releases/tag/2018-12-19
77
# and https://hub.docker.com/r/skillsnetwork/pontoon/tags

charts/pontoon/templates/pontoon-deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ spec:
4545
{{- if or .Values.ssh.config .Values.ssh.privateKeys }}
4646
initContainers:
4747
- name: copy-ssh-secrets
48-
image: "busybox"
48+
image: "{{ .Values.ssh.image.repository }}:{{ .Values.ssh.image.tag }}"
49+
imagePullPolicy: {{ .Values.ssh.image.pullPolicy }}
4950
command:
5051
- "cp"
5152
- "-r"

charts/pontoon/templates/pontoon-sync-projects-cronjob.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ spec:
5050
{{- if or (or .Values.ssh.config .Values.ssh.privateKeys) .Values.syncProjectCronjob.initContainers }}
5151
initContainers:
5252
- name: copy-ssh-secrets
53-
image: "busybox"
53+
image: "{{ .Values.ssh.image.repository }}:{{ .Values.ssh.image.tag }}"
54+
imagePullPolicy: {{ .Values.ssh.image.pullPolicy }}
5455
command:
5556
- "cp"
5657
- "-r"

charts/pontoon/templates/pontoon-worker-deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ spec:
4545
{{- if or .Values.ssh.config .Values.ssh.privateKeys }}
4646
initContainers:
4747
- name: copy-ssh-secrets
48-
image: "busybox"
48+
image: "{{ .Values.ssh.image.repository }}:{{ .Values.ssh.image.tag }}"
49+
imagePullPolicy: {{ .Values.ssh.image.pullPolicy }}
4950
command:
5051
- "cp"
5152
- "-r"

charts/pontoon/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ ssh:
5151
config: ""
5252
mountPath: "/home/pontoon/.ssh"
5353

54+
image:
55+
repository: busybox
56+
pullPolicy: IfNotPresent
57+
tag: "latest"
58+
5459
replicaCount: 1
5560
image:
5661
repository: skillsnetwork/pontoon

0 commit comments

Comments
 (0)