summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai/templates')
-rw-r--r--kubernetes/aai/templates/aai-resources-deployment.yaml3
-rw-r--r--kubernetes/aai/templates/aai-traversal-deployment.yaml3
-rw-r--r--kubernetes/aai/templates/data-router-deployment.yaml3
-rw-r--r--kubernetes/aai/templates/elasticsearch-deployment.yaml3
-rw-r--r--kubernetes/aai/templates/hbase-deployment.yaml3
5 files changed, 10 insertions, 5 deletions
diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml
index cd4412dbfc..332b89045b 100644
--- a/kubernetes/aai/templates/aai-resources-deployment.yaml
+++ b/kubernetes/aai/templates/aai-resources-deployment.yaml
@@ -435,7 +435,7 @@ spec:
- name: AAI_CHEF_ENV
value: simpledemo
- name: AAI_CORE_VERSION
- value: 1.1.0-SNAPSHOT
+ value: {{ .Values.aaicoreversion }}
- name: AAI_CHEF_LOC
value: /var/chef/aai-data/environments
- name: CHEF_GIT_URL
@@ -498,3 +498,4 @@ spec:
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
+
diff --git a/kubernetes/aai/templates/aai-traversal-deployment.yaml b/kubernetes/aai/templates/aai-traversal-deployment.yaml
index 2445e1e716..f039d0f332 100644
--- a/kubernetes/aai/templates/aai-traversal-deployment.yaml
+++ b/kubernetes/aai/templates/aai-traversal-deployment.yaml
@@ -267,7 +267,7 @@ spec:
- name: AAI_CHEF_ENV
value: simpledemo
- name: AAI_CORE_VERSION
- value: 1.1.0-SNAPSHOT
+ value: {{ .Values.aaicoreversion }}
- name: AAI_CHEF_LOC
value: /var/chef/aai-data/environments
- name: CHEF_GIT_URL
@@ -330,3 +330,4 @@ spec:
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
+
diff --git a/kubernetes/aai/templates/data-router-deployment.yaml b/kubernetes/aai/templates/data-router-deployment.yaml
index 37b9fb411c..b1cb834eeb 100644
--- a/kubernetes/aai/templates/data-router-deployment.yaml
+++ b/kubernetes/aai/templates/data-router-deployment.yaml
@@ -136,8 +136,9 @@ spec:
name: aai-data-router-dynamic-configmap
- name: aai-data-router-logs
hostPath:
- path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/data-router/logs"
+ path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/aai/data-router/logs
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
+
diff --git a/kubernetes/aai/templates/elasticsearch-deployment.yaml b/kubernetes/aai/templates/elasticsearch-deployment.yaml
index 902f31ef60..a07db04566 100644
--- a/kubernetes/aai/templates/elasticsearch-deployment.yaml
+++ b/kubernetes/aai/templates/elasticsearch-deployment.yaml
@@ -81,7 +81,8 @@ spec:
name: aai-elasticsearch-configmap
- name: elasticsearch-data
hostPath:
- path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/elasticsearch/data"
+ path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/aai/elasticsearch/data
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
+
diff --git a/kubernetes/aai/templates/hbase-deployment.yaml b/kubernetes/aai/templates/hbase-deployment.yaml
index 08c2ee3734..62b017db29 100644
--- a/kubernetes/aai/templates/hbase-deployment.yaml
+++ b/kubernetes/aai/templates/hbase-deployment.yaml
@@ -56,10 +56,11 @@ spec:
volumes:
- name: hbase-data
hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aai/hbase
+ path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/aai/hbase
- name: localtime
hostPath:
path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}
+