diff --git a/HelmChart/Public/oneuptime/templates/app.yaml b/HelmChart/Public/oneuptime/templates/app.yaml index fc6070796e..a320f891e5 100644 --- a/HelmChart/Public/oneuptime/templates/app.yaml +++ b/HelmChart/Public/oneuptime/templates/app.yaml @@ -22,6 +22,10 @@ spec: date: "{{ now | unixEpoch }}" appname: oneuptime spec: + {{- if $.Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $.Values.imagePullSecrets | nindent 8 }} + {{- end }} {{- if $.Values.podSecurityContext }} securityContext: {{- $.Values.podSecurityContext | toYaml | nindent 8 }} {{- end }} diff --git a/HelmChart/Public/oneuptime/templates/ingestor.yaml b/HelmChart/Public/oneuptime/templates/ingestor.yaml index 38a1fbdd2a..0598e2da26 100644 --- a/HelmChart/Public/oneuptime/templates/ingestor.yaml +++ b/HelmChart/Public/oneuptime/templates/ingestor.yaml @@ -34,6 +34,10 @@ spec: {{- if $.Values.podSecurityContext }} securityContext: {{- $.Values.podSecurityContext | toYaml | nindent 8 }} {{- end }} + {{- if $.Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $.Values.imagePullSecrets | nindent 8 }} + {{- end }} {{- if $.Values.affinity }} affinity: {{- $.Values.affinity | toYaml | nindent 8 }} {{- end }} diff --git a/HelmChart/Public/oneuptime/templates/isolated-vm.yaml b/HelmChart/Public/oneuptime/templates/isolated-vm.yaml index a4ff257d44..9134bdf9e7 100644 --- a/HelmChart/Public/oneuptime/templates/isolated-vm.yaml +++ b/HelmChart/Public/oneuptime/templates/isolated-vm.yaml @@ -26,6 +26,10 @@ spec: {{- if $.Values.podSecurityContext }} securityContext: {{- $.Values.podSecurityContext | toYaml | nindent 8 }} {{- end }} + {{- if $.Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $.Values.imagePullSecrets | nindent 8 }} + {{- end }} {{- if $.Values.affinity }} affinity: {{- $.Values.affinity | toYaml | nindent 8 }} {{- end }} diff --git a/HelmChart/Public/oneuptime/templates/nginx.yaml b/HelmChart/Public/oneuptime/templates/nginx.yaml index 9e4eb59402..381d7b778e 100644 --- a/HelmChart/Public/oneuptime/templates/nginx.yaml +++ b/HelmChart/Public/oneuptime/templates/nginx.yaml @@ -39,6 +39,10 @@ spec: {{- if $.Values.podSecurityContext }} securityContext: {{- $.Values.podSecurityContext | toYaml | nindent 8 }} {{- end }} + {{- if $.Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $.Values.imagePullSecrets | nindent 8 }} + {{- end }} {{- if $.Values.affinity }} affinity: {{- $.Values.affinity | toYaml | nindent 8 }} {{- end }} diff --git a/HelmChart/Public/oneuptime/templates/probe.yaml b/HelmChart/Public/oneuptime/templates/probe.yaml index 73c33d54f3..2c1f68e6ff 100644 --- a/HelmChart/Public/oneuptime/templates/probe.yaml +++ b/HelmChart/Public/oneuptime/templates/probe.yaml @@ -22,6 +22,10 @@ spec: date: "{{ now | unixEpoch }}" appname: oneuptime spec: + {{- if $.Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml $.Values.imagePullSecrets | nindent 8 }} + {{- end }} {{- if $.Values.podSecurityContext }} securityContext: {{- $.Values.podSecurityContext | toYaml | nindent 8 }} {{- end }}