1 # Copyright © 2017-2018 AT&T
2 # Modifications Copyright © 2018 Amdocs, Bell Canada
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 name: {{ include "common.fullname" . }}-update-query-data
20 namespace: {{ include "common.namespace" . }}
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
30 app: {{ include "common.name" . }}-job
31 release: {{ .Release.Name }}
32 name: {{ include "common.name" . }}
45 fieldPath: metadata.namespace
46 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
47 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
48 name: {{ include "common.name" . }}-readiness
50 - name: {{ include "common.name" . }}-job
51 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
52 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
58 mkdir -p /opt/aai/logroot/AAI-GQ/misc
59 bash -x /opt/app/aai-traversal/docker-entrypoint.sh install/updateQueryData.sh
63 - name: LOCAL_GROUP_ID
66 - mountPath: /etc/localtime
69 - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-realtime.properties
70 name: {{ include "common.fullname" . }}-db-real-conf
71 subPath: janusgraph-realtime.properties
72 - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-cached.properties
73 name: {{ include "common.fullname" . }}-db-cached-conf
74 subPath: janusgraph-cached.properties
75 - mountPath: /opt/app/aai-traversal/resources/etc/appprops/aaiconfig.properties
76 name: {{ include "common.fullname" . }}-aaiconfig-conf
77 subPath: aaiconfig.properties
78 - mountPath: /var/log/onap
79 name: {{ include "common.fullname" . }}-logs
80 - mountPath: /opt/app/aai-traversal/resources/logback.xml
81 name: {{ include "common.fullname" . }}-log-conf
83 - mountPath: /opt/app/aai-traversal/resources/localhost-access-logback.xml
84 name: {{ include "common.fullname" . }}-localhost-access-log-conf
85 subPath: localhost-access-logback.xml
86 - mountPath: /opt/app/aai-traversal/resources/application.properties
87 name: {{ include "common.fullname" . }}-springapp-conf
88 subPath: application.properties
89 - mountPath: /opt/app/aai-traversal/resources/etc/auth/aai_keystore
90 name: {{ include "common.fullname" . }}-auth-sec
92 # disable liveness probe when breakpoints set in debugger
93 # so K8s doesn't restart unresponsive container
101 - name: {{ include "common.fullname" . }}-logs
103 path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}-update-query
104 - name: {{ include "common.fullname" . }}-filebeat
106 - name: {{ include "common.fullname" . }}-log-conf
108 name: {{ include "common.fullname" . }}-log
109 - name: {{ include "common.fullname" . }}-localhost-access-log-conf
111 name: {{ include "common.fullname" . }}-localhost-access-log-configmap
112 - name: {{ include "common.fullname" . }}-db-real-conf
114 name: {{ include "common.fullname" . }}-db-real-configmap
115 - name: {{ include "common.fullname" . }}-db-cached-conf
117 name: {{ include "common.fullname" . }}-db-cached-configmap
118 - name: {{ include "common.fullname" . }}-aaiconfig-conf
120 name: {{ include "common.fullname" . }}-aaiconfig-configmap
121 - name: {{ include "common.fullname" . }}-springapp-conf
123 name: {{ include "common.fullname" . }}-springapp-configmap
124 - name: {{ include "common.fullname" . }}-realm-conf
126 name: {{ include "common.fullname" . }}-realm-configmap
127 - name: {{ include "common.fullname" . }}-auth-sec
129 secretName: aai-auth-secret
130 restartPolicy: OnFailure
132 - name: "{{ include "common.namespace" . }}-docker-registry-key"