Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[POLICY][COMMON] Create Authorization Policies for Policy"
[oom.git]
/
kubernetes
/
common
/
common
/
templates
/
_mariadb.tpl
diff --git
a/kubernetes/common/common/templates/_mariadb.tpl
b/kubernetes/common/common/templates/_mariadb.tpl
index
df0e6b4
..
5021c50
100644
(file)
--- a/
kubernetes/common/common/templates/_mariadb.tpl
+++ b/
kubernetes/common/common/templates/_mariadb.tpl
@@
-44,6
+44,13
@@
{{- printf "db-user-credentials" }}
{{- end -}}
{{- printf "db-user-credentials" }}
{{- end -}}
+{{/*
+ UID of mariadb backup credentials
+*/}}
+{{- define "common.mariadb.secret.backupCredentialsUID" -}}
+ {{- printf "db-backup-credentials" }}
+{{- end -}}
+
{{/*
Name of mariadb user credentials secret
*/}}
{{/*
Name of mariadb user credentials secret
*/}}
@@
-56,7
+63,7
@@
*/}}
{{- define "common.mariadbService" -}}
{{- if .Values.global.mariadbGalera.localCluster -}}
*/}}
{{- define "common.mariadbService" -}}
{{- if .Values.global.mariadbGalera.localCluster -}}
- {{- index .Values "mariadb-galera" "
service" "nam
e" -}}
+ {{- index .Values "mariadb-galera" "
nameOverrid
e" -}}
{{- else -}}
{{- .Values.global.mariadbGalera.service -}}
{{- end -}}
{{- else -}}
{{- .Values.global.mariadbGalera.service -}}
{{- end -}}