Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Run all components in one namespace
[oom.git]
/
kubernetes
/
mso
/
templates
/
db-deployment.yaml
diff --git
a/kubernetes/mso/templates/db-deployment.yaml
b/kubernetes/mso/templates/db-deployment.yaml
index
cc4c656
..
a906c1c
100644
(file)
--- a/
kubernetes/mso/templates/db-deployment.yaml
+++ b/
kubernetes/mso/templates/db-deployment.yaml
@@
-2,25
+2,25
@@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
- name: mariadb
- namespace: "{{ .Values.nsPrefix }}
-mso
"
+ name: m
so-m
ariadb
+ namespace: "{{ .Values.nsPrefix }}"
spec:
replicas: {{ .Values.dbReplicas }}
selector:
matchLabels:
spec:
replicas: {{ .Values.dbReplicas }}
selector:
matchLabels:
- app: mariadb
+ app: m
so-m
ariadb
template:
metadata:
labels:
template:
metadata:
labels:
- app: mariadb
- name: mariadb
+ app: m
so-m
ariadb
+ name: m
so-m
ariadb
spec:
spec:
- hostname: mariadb
+ hostname: m
so-m
ariadb
containers:
- args:
image: {{ .Values.image.mariadb }}
imagePullPolicy: {{ .Values.pullPolicy }}
containers:
- args:
image: {{ .Values.image.mariadb }}
imagePullPolicy: {{ .Values.pullPolicy }}
- name: "mariadb"
+ name: "m
so-m
ariadb"
env:
- name: MYSQL_ROOT_PASSWORD
value: password
env:
- name: MYSQL_ROOT_PASSWORD
value: password
@@
-52,7
+52,7
@@
spec:
name: mso-mariadb-data
ports:
- containerPort: 3306
name: mso-mariadb-data
ports:
- containerPort: 3306
- name: mariadb
+ name: m
so-m
ariadb
readinessProbe:
tcpSocket:
port: 3306
readinessProbe:
tcpSocket:
port: 3306