diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-07-08 19:58:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-08 19:58:42 +0000 |
commit | 4c2f578754c79f0336e4ba83a236436af36fd58e (patch) | |
tree | 08922b31a181efb34d06729311b394ca7ee09bfc /kubernetes/common/mariadb-galera/templates/job.yaml | |
parent | ae24e1f93df345903556301bd5c75bda1aa9af69 (diff) | |
parent | a72170b49e04aacb2ff476965904900fe5559fef (diff) |
Merge "[COMMON] fix logic of post upgrade hook script to handle upgrade run without any changes to charts that could cause loss of all data."
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates/job.yaml')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/job.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/job.yaml b/kubernetes/common/mariadb-galera/templates/job.yaml index cc71bb855c..db56f3e046 100644 --- a/kubernetes/common/mariadb-galera/templates/job.yaml +++ b/kubernetes/common/mariadb-galera/templates/job.yaml @@ -72,6 +72,8 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.namespace + - name: REPLICA_COUNT + value: "{{ .Values.replicaCount }}" command: ["/bin/bash", "-c", "--"] args: ["/upgrade/post-upgrade-script.sh"] volumeMounts: |