You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2024/02/22 10:50:17 UTC

(incubator-devlake-helm-chart) branch main updated: Add support for imagePullSecrets in database StatefulSet (#254)

This is an automated email from the ASF dual-hosted git repository.

zhangning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git


The following commit(s) were added to refs/heads/main by this push:
     new cfb66d2  Add support for imagePullSecrets in database StatefulSet (#254)
cfb66d2 is described below

commit cfb66d29259d10333b0842b8511d903d9a62caba
Author: walkowif <59...@users.noreply.github.com>
AuthorDate: Thu Feb 22 11:50:11 2024 +0100

    Add support for imagePullSecrets in database StatefulSet (#254)
---
 charts/devlake/templates/statefulsets.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/charts/devlake/templates/statefulsets.yaml b/charts/devlake/templates/statefulsets.yaml
index b3d2523..005e5bb 100644
--- a/charts/devlake/templates/statefulsets.yaml
+++ b/charts/devlake/templates/statefulsets.yaml
@@ -41,6 +41,10 @@ spec:
       annotations:
         {{- toYaml .Values.mysql.podAnnotations | nindent 8 }}
     spec:
+      {{- with .Values.imagePullSecrets }}
+      imagePullSecrets:
+        {{- toYaml . | nindent 8 }}
+      {{- end }}
       {{- with .Values.mysql.securityContext }}
       securityContext:
         {{- toYaml . | nindent 8 }}