Skip to content

Commit

Permalink
fix post-upgrade-hook imagePullSecretes (#290)
Browse files Browse the repository at this point in the history
* fix post-upgrade-hook imagePullSecretes

Signed-off-by: bingwei-hong-partior <[email protected]>

* bump chart version to 2.15.1

Signed-off-by: bingwei-hong-partior <[email protected]>

* update docs

Signed-off-by: bingwei-hong-partior <[email protected]>

* fix post-upgrade-hook imagePullSecrets

Signed-off-by: bingwei-hong-partior <[email protected]>

* regenerate README.md

Signed-off-by: bingwei-hong-partior <[email protected]>

Signed-off-by: bingwei-hong-partior <[email protected]>
  • Loading branch information
bingwei-hong-partior authored Nov 25, 2022
1 parent c43eb8d commit 8be082a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/litmus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "2.14.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 2.15.0
version: 2.15.1
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

![Version: 2.15.0](https://img.shields.io/badge/Version-2.15.0-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)
![Version: 2.15.1](https://img.shields.io/badge/Version-2.15.1-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)

A Helm chart to install ChaosCenter

Expand Down
4 changes: 4 additions & 0 deletions charts/litmus/templates/post-upgrade-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
spec:
restartPolicy: {{ .Values.upgradeAgent.controlPlane.restartPolicy }}
{{- if .Values.image.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.image.imagePullSecrets | nindent 8 }}
{{- end }}
containers:
- name: upgrade-agent
image: {{ .Values.image.imageRegistryName }}/{{ .Values.upgradeAgent.controlPlane.image.repository }}:{{ .Values.upgradeAgent.controlPlane.image.tag }}
Expand Down

0 comments on commit 8be082a

Please sign in to comment.