summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/mariadb/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-03-07 20:35:02 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-07 20:35:02 +0000
commit6894e5818acd524b2307661c3890b717deabda7f (patch)
treea90a042d0b7b2203e328e90fc4737bb55d9a2997 /kubernetes/so/charts/mariadb/templates/deployment.yaml
parent8c4e3d3f261ff6f4f32ae84cfc519f4b55172aee (diff)
parent0e93fb5bfce4fcd462f5db0d9c6d1f29f2e742a6 (diff)
Merge "make so chart one namespace compatible"
Diffstat (limited to 'kubernetes/so/charts/mariadb/templates/deployment.yaml')
-rw-r--r--kubernetes/so/charts/mariadb/templates/deployment.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/so/charts/mariadb/templates/deployment.yaml b/kubernetes/so/charts/mariadb/templates/deployment.yaml
index 14654dc24a..9c9cf09004 100644
--- a/kubernetes/so/charts/mariadb/templates/deployment.yaml
+++ b/kubernetes/so/charts/mariadb/templates/deployment.yaml
@@ -1,7 +1,7 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- name: {{ include "common.fullname" . }}
+ name: {{ include "common.name" . }}
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}
@@ -41,7 +41,7 @@ spec:
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
- name: {{ template "common.fullname" . }}
+ name: {{ template "common.name" . }}
key: db-root-password
volumeMounts:
- mountPath: /var/lib/mysql
@@ -83,7 +83,7 @@ spec:
{{- if .Values.persistence.enabled }}
- name: mariadb-data
persistentVolumeClaim:
- claimName: {{ include "common.fullname" . }}
+ claimName: {{ include "common.name" . }}
{{- else }}
emptyDir: {}
{{- end }}