diff --git a/charts/yurt-manager/Chart.yaml b/charts/yurt-manager/Chart.yaml index 3253fe2..e0eea43 100644 --- a/charts/yurt-manager/Chart.yaml +++ b/charts/yurt-manager/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.4.0 +version: 1.4.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/yurt-manager/templates/yurt-manager.yaml b/charts/yurt-manager/templates/yurt-manager.yaml index 9472b85..68909a8 100644 --- a/charts/yurt-manager/templates/yurt-manager.yaml +++ b/charts/yurt-manager/templates/yurt-manager.yaml @@ -76,6 +76,10 @@ spec: labels: {{- include "yurt-manager.selectorLabels" . | nindent 8 }} spec: + {{- if not (empty .Values.image.pullSecrets) }} + imagePullSecrets: +{{ toYaml .Values.image.pullSecrets | indent 8 }} + {{- end }} tolerations: - effect: NoSchedule key: node-role.kubernetes.io/master diff --git a/charts/yurt-manager/values.yaml b/charts/yurt-manager/values.yaml index a090183..a276dd9 100644 --- a/charts/yurt-manager/values.yaml +++ b/charts/yurt-manager/values.yaml @@ -14,6 +14,9 @@ image: registry: openyurt repository: yurt-manager tag: v1.3.4 + pullSecrets: [] + # pullSecrets: + # - name: myRegistryKeySecretName ports: metrics: 10271