summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/templates')
-rw-r--r--kubernetes/sdc/templates/sdc-be.yaml1
-rw-r--r--kubernetes/sdc/templates/sdc-cs.yaml1
-rw-r--r--kubernetes/sdc/templates/sdc-es.yaml1
-rw-r--r--kubernetes/sdc/templates/sdc-fe.yaml1
-rw-r--r--kubernetes/sdc/templates/sdc-kb.yaml1
-rw-r--r--kubernetes/sdc/templates/sdc-pv-pvc.yaml6
6 files changed, 8 insertions, 3 deletions
diff --git a/kubernetes/sdc/templates/sdc-be.yaml b/kubernetes/sdc/templates/sdc-be.yaml
index d853f18f91..77c7545f6b 100644
--- a/kubernetes/sdc/templates/sdc-be.yaml
+++ b/kubernetes/sdc/templates/sdc-be.yaml
@@ -81,6 +81,7 @@ spec:
name: sdc-environments
- mountPath: /etc/localtime
name: sdc-localtime
+ readOnly: true
- mountPath: /var/lib/jetty/logs
name: sdc-logs
ports:
diff --git a/kubernetes/sdc/templates/sdc-cs.yaml b/kubernetes/sdc/templates/sdc-cs.yaml
index 9021194968..844bd20d35 100644
--- a/kubernetes/sdc/templates/sdc-cs.yaml
+++ b/kubernetes/sdc/templates/sdc-cs.yaml
@@ -61,6 +61,7 @@ spec:
name: sdc-environments
- mountPath: /etc/localtime
name: sdc-localtime
+ readOnly: true
- mountPath: /var/lib/jetty/logs
name: sdc-logs
ports:
diff --git a/kubernetes/sdc/templates/sdc-es.yaml b/kubernetes/sdc/templates/sdc-es.yaml
index 59e69dbfdc..e322ff405a 100644
--- a/kubernetes/sdc/templates/sdc-es.yaml
+++ b/kubernetes/sdc/templates/sdc-es.yaml
@@ -35,6 +35,7 @@ spec:
name: sdc-environments
- mountPath: /etc/localtime
name: sdc-localtime
+ readOnly: true
- mountPath: /var/lib/jetty/logs
name: sdc-logs
ports:
diff --git a/kubernetes/sdc/templates/sdc-fe.yaml b/kubernetes/sdc/templates/sdc-fe.yaml
index 915d18b786..0ca83ae164 100644
--- a/kubernetes/sdc/templates/sdc-fe.yaml
+++ b/kubernetes/sdc/templates/sdc-fe.yaml
@@ -65,6 +65,7 @@ spec:
name: sdc-environments
- mountPath: /etc/localtime
name: sdc-localtime
+ readOnly: true
- mountPath: /var/lib/jetty/logs
name: sdc-logs
- mountPath: /root/chef-solo/cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb
diff --git a/kubernetes/sdc/templates/sdc-kb.yaml b/kubernetes/sdc/templates/sdc-kb.yaml
index 67110f1e8f..0d77e42d97 100644
--- a/kubernetes/sdc/templates/sdc-kb.yaml
+++ b/kubernetes/sdc/templates/sdc-kb.yaml
@@ -57,6 +57,7 @@ spec:
name: sdc-environments
- mountPath: /etc/localtime
name: sdc-localtime
+ readOnly: true
- mountPath: /var/lib/jetty/logs
name: sdc-logs
ports:
diff --git a/kubernetes/sdc/templates/sdc-pv-pvc.yaml b/kubernetes/sdc/templates/sdc-pv-pvc.yaml
index 41f85e9465..d84d8f4a93 100644
--- a/kubernetes/sdc/templates/sdc-pv-pvc.yaml
+++ b/kubernetes/sdc/templates/sdc-pv-pvc.yaml
@@ -1,10 +1,10 @@
apiVersion: v1
kind: PersistentVolume
metadata:
- name: sdc-cs-db
+ name: "{{ .Values.nsPrefix }}-sdc-cs-db"
namespace: "{{ .Values.nsPrefix }}-sdc"
labels:
- name: sdc-cs-db
+ name: "{{ .Values.nsPrefix }}-sdc-cs-db"
spec:
capacity:
storage: 2Gi
@@ -27,4 +27,4 @@ spec:
storage: 2Gi
selector:
matchLabels:
- name: sdc-cs-db
+ name: "{{ .Values.nsPrefix }}-sdc-cs-db"