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 1.1 in Kubernetes"
[oom.git]
/
kubernetes
/
policy
/
templates
/
dep-maria.yaml
diff --git
a/kubernetes/policy/templates/dep-maria.yaml
b/kubernetes/policy/templates/dep-maria.yaml
index
511405b
..
30d0db3
100644
(file)
--- a/
kubernetes/policy/templates/dep-maria.yaml
+++ b/
kubernetes/policy/templates/dep-maria.yaml
@@
-24,10
+24,17
@@
spec:
name: mariadb
ports:
- containerPort: 3306
name: mariadb
ports:
- containerPort: 3306
+ volumeMounts:
+ - mountPath: /var/lib/mysql
+ name: policy-mariadb-data
readinessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 5
periodSeconds: 10
+ volumes:
+ - name: policy-mariadb-data
+ persistentVolumeClaim:
+ claimName: policy-db
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"