From eac0a5d365489140339c41c725d0cf40fda1457c Mon Sep 17 00:00:00 2001 From: Tiran Meltser <41899083+tmeltser@users.noreply.github.com> Date: Fri, 26 May 2023 13:45:03 +0300 Subject: [PATCH] Add support for customizing imagePullSecrets (#344) Co-authored-by: tiran-meltser --- .../kubernetes/chart/forecastle/templates/deployment.yaml | 4 ++++ deployments/kubernetes/chart/forecastle/values.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/deployments/kubernetes/chart/forecastle/templates/deployment.yaml b/deployments/kubernetes/chart/forecastle/templates/deployment.yaml index 2f92f991..0e5e55dc 100644 --- a/deployments/kubernetes/chart/forecastle/templates/deployment.yaml +++ b/deployments/kubernetes/chart/forecastle/templates/deployment.yaml @@ -26,6 +26,10 @@ spec: {{- toYaml . | indent 8 }} {{- end }} spec: + {{- with .Values.forecastle.deployment.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - securityContext: {{- toYaml .Values.forecastle.container.securityContext | nindent 12 }} env: diff --git a/deployments/kubernetes/chart/forecastle/values.yaml b/deployments/kubernetes/chart/forecastle/values.yaml index b56abb76..b089f64b 100644 --- a/deployments/kubernetes/chart/forecastle/values.yaml +++ b/deployments/kubernetes/chart/forecastle/values.yaml @@ -18,6 +18,8 @@ forecastle: # seccompProfile: # type: RuntimeDefault tolerations: {} + # imagePullSecrets: + # - name: myregistrykey pod: annotations: {} container: