Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[MARIADB][COMMON] Add support for mariadb-operator
[oom.git]
/
kubernetes
/
common
/
mariadb-galera
/
templates
/
backup
/
pvc.yaml
diff --git
a/kubernetes/common/mariadb-galera/templates/backup/pvc.yaml
b/kubernetes/common/mariadb-galera/templates/backup/pvc.yaml
index
5dd8a3f
..
4c2bfcd
100644
(file)
--- a/
kubernetes/common/mariadb-galera/templates/backup/pvc.yaml
+++ b/
kubernetes/common/mariadb-galera/templates/backup/pvc.yaml
@@
-14,6
+14,8
@@
# See the License for the specific language governing permissions and
# limitations under the License.
*/}}
# See the License for the specific language governing permissions and
# limitations under the License.
*/}}
+
+{{- if not .Values.global.mariadbGalera.useOperator }}
{{- if .Values.backup.enabled }}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
---
{{- if .Values.backup.enabled }}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
---
@@
-45,3
+47,4
@@
spec:
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
+{{- end -}}
\ No newline at end of file