aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai')
-rw-r--r--kubernetes/aai/templates/aai-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/aai-resources-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/aai-traversal-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/data-router-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/elasticsearch-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/gremlin-deployment.yaml8
-rw-r--r--kubernetes/aai/templates/hbase-deployment.yaml8
-rw-r--r--kubernetes/aai/templates/modelloader-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/search-data-service-deployment.yaml6
-rw-r--r--kubernetes/aai/templates/sparky-be-deployment.yaml6
10 files changed, 64 insertions, 0 deletions
diff --git a/kubernetes/aai/templates/aai-deployment.yaml b/kubernetes/aai/templates/aai-deployment.yaml
index 9b55d4e736..dc375cb6bc 100644
--- a/kubernetes/aai/templates/aai-deployment.yaml
+++ b/kubernetes/aai/templates/aai-deployment.yaml
@@ -40,6 +40,9 @@ spec:
image: "{{ .Values.image.aaiProxy }}:{{ .Values.image.aaiProxyVersion}}"
imagePullPolicy: {{ .Values.pullPolicy }}
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /dev/log
name: aai-service-log
- mountPath: /usr/local/etc/haproxy/haproxy.cfg
@@ -53,6 +56,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-service-log
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/haproxy/log/"
diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml
index 1aff10bb94..c61bc6f0a6 100644
--- a/kubernetes/aai/templates/aai-resources-deployment.yaml
+++ b/kubernetes/aai/templates/aai-resources-deployment.yaml
@@ -55,6 +55,9 @@ spec:
- name: CHEF_GIT_URL
value: http://gerrit.onap.org/r/aai
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/aai/logroot/
name: aai-resources-logs
- mountPath: /var/chef/aai-data/
@@ -69,6 +72,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-resources-logs
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-resources/logs/"
diff --git a/kubernetes/aai/templates/aai-traversal-deployment.yaml b/kubernetes/aai/templates/aai-traversal-deployment.yaml
index debd1f6926..ec387b04e8 100644
--- a/kubernetes/aai/templates/aai-traversal-deployment.yaml
+++ b/kubernetes/aai/templates/aai-traversal-deployment.yaml
@@ -57,6 +57,9 @@ spec:
- name: CHEF_GIT_URL
value: http://gerrit.onap.org/r/aai
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/aai/logroot/
name: aai-traversal-logs
- mountPath: /var/chef/aai-data/
@@ -71,6 +74,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-traversal-logs
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-traversal/logs/"
diff --git a/kubernetes/aai/templates/data-router-deployment.yaml b/kubernetes/aai/templates/data-router-deployment.yaml
index f823061c33..4473dcf8fe 100644
--- a/kubernetes/aai/templates/data-router-deployment.yaml
+++ b/kubernetes/aai/templates/data-router-deployment.yaml
@@ -33,6 +33,9 @@ spec:
- name: JAVA_HOME
value: usr/lib/jvm/java-8-openjdk-amd64
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/data-router/config/
name: data-router-config
- mountPath: /opt/app/data-router/dynamic/
@@ -47,6 +50,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: data-router-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/data-router/appconfig/"
diff --git a/kubernetes/aai/templates/elasticsearch-deployment.yaml b/kubernetes/aai/templates/elasticsearch-deployment.yaml
index 1c2a2ad57b..1fc92addfc 100644
--- a/kubernetes/aai/templates/elasticsearch-deployment.yaml
+++ b/kubernetes/aai/templates/elasticsearch-deployment.yaml
@@ -26,11 +26,17 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
- name: elasticsearch-config
mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
- name: elasticsearch-data
mountPath: /usr/share/elasticsearch/data
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: elasticsearch-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/elasticsearch/config/elasticsearch.yml"
diff --git a/kubernetes/aai/templates/gremlin-deployment.yaml b/kubernetes/aai/templates/gremlin-deployment.yaml
index d28b286b68..75b3e92437 100644
--- a/kubernetes/aai/templates/gremlin-deployment.yaml
+++ b/kubernetes/aai/templates/gremlin-deployment.yaml
@@ -58,5 +58,13 @@ spec:
port: 8182
initialDelaySeconds: 5
periodSeconds: 10
+ volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
+ volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
diff --git a/kubernetes/aai/templates/hbase-deployment.yaml b/kubernetes/aai/templates/hbase-deployment.yaml
index 98c38828ec..c261504d22 100644
--- a/kubernetes/aai/templates/hbase-deployment.yaml
+++ b/kubernetes/aai/templates/hbase-deployment.yaml
@@ -31,5 +31,13 @@ spec:
port: 2181
initialDelaySeconds: 5
periodSeconds: 10
+ volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
+ volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
diff --git a/kubernetes/aai/templates/modelloader-deployment.yaml b/kubernetes/aai/templates/modelloader-deployment.yaml
index 5391273d9d..22b72815cb 100644
--- a/kubernetes/aai/templates/modelloader-deployment.yaml
+++ b/kubernetes/aai/templates/modelloader-deployment.yaml
@@ -18,6 +18,9 @@ spec:
- name: CONFIG_HOME
value: /opt/app/model-loader/config/
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/model-loader/config/
name: aai-model-loader-config
- mountPath: /logs/
@@ -29,6 +32,9 @@ spec:
- containerPort: 8080
- containerPort: 8443
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-model-loader-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/model-loader/appconfig/"
diff --git a/kubernetes/aai/templates/search-data-service-deployment.yaml b/kubernetes/aai/templates/search-data-service-deployment.yaml
index f2db9370fd..74132758f2 100644
--- a/kubernetes/aai/templates/search-data-service-deployment.yaml
+++ b/kubernetes/aai/templates/search-data-service-deployment.yaml
@@ -25,6 +25,9 @@ spec:
- name: KEY_MANAGER_PASSWORD
value: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/search-data-service/config/
name: aai-search-data-service-config
- mountPath: /logs/
@@ -37,6 +40,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-search-data-service-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/search-data-service/appconfig/"
diff --git a/kubernetes/aai/templates/sparky-be-deployment.yaml b/kubernetes/aai/templates/sparky-be-deployment.yaml
index 6a8ff9308d..a17325c056 100644
--- a/kubernetes/aai/templates/sparky-be-deployment.yaml
+++ b/kubernetes/aai/templates/sparky-be-deployment.yaml
@@ -25,6 +25,9 @@ spec:
- name: KEY_STORE_PASSWORD
value: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/sparky/config/
name: aai-sparky-be-config
- mountPath: /logs/
@@ -37,6 +40,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-sparky-be-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/sparky-be/appconfig/"