1 # Copyright © 2017 Amdocs, Bell Canada
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #{{ if not .Values.disableAppcAppc }}
16 apiVersion: extensions/v1beta1
20 namespace: "{{ .Values.nsPrefix }}"
22 replicas: {{ .Values.appcReplicas }}
43 fieldPath: metadata.namespace
44 image: {{ .Values.image.readiness }}
45 imagePullPolicy: {{ .Values.pullPolicy }}
49 - /opt/openecomp/appc/bin/startODL.sh
51 - name: MYSQL_ROOT_PASSWORD
53 - name: SDNC_CONFIG_DIR
54 value: /opt/openecomp/appc/data/properties
55 - name: APPC_CONFIG_DIR
56 value: /opt/openecomp/appc/data/properties
57 - name: DMAAP_TOPIC_ENV
61 image: {{ .Values.image.appc }}
62 imagePullPolicy: {{ .Values.pullPolicy }}
63 name: appc-controller-container
65 - mountPath: /etc/localtime
68 - mountPath: /opt/openecomp/appc/data/properties/dblib.properties
69 name: appc-openecomp-appc-data-properties
70 subPath: dblib.properties
71 - mountPath: /opt/openecomp/appc/data/properties/svclogic.properties
72 name: appc-openecomp-appc-data-properties
73 subPath: svclogic.properties
74 - mountPath: /opt/openecomp/appc/data/properties/appc.properties
75 name: appc-openecomp-appc-data-properties
76 subPath: appc.properties
77 - mountPath: /opt/openecomp/appc/data/properties/aaiclient.properties
78 name: appc-openecomp-appc-data-properties
79 subPath: aaiclient.properties
80 - mountPath: /opt/openecomp/appc/svclogic/config/svclogic.properties
81 name: appc-openecomp-appc-svclogic-config
82 subPath: svclogic.properties
83 - mountPath: /opt/openecomp/appc/svclogic/bin/showActiveGraphs.sh
84 name: appc-openecomp-appc-svclogic-bin
85 subPath: showActiveGraphs.sh
86 - mountPath: /opt/openecomp/appc/bin/startODL.sh
87 name: appc-openecomp-appc-bin
89 - mountPath: /opt/openecomp/appc/bin/installAppcDb.sh
90 name: appc-openecomp-appc-bin
91 subPath: installAppcDb.sh
92 - mountPath: /opt/onap/sdnc/data/properties/dblib.properties
93 name: appc-onap-sdnc-data-properties
94 subPath: dblib.properties
95 - mountPath: /opt/onap/sdnc/data/properties/svclogic.properties
96 name: appc-onap-sdnc-data-properties
97 subPath: svclogic.properties
98 - mountPath: /opt/onap/sdnc/data/properties/aaiclient.properties
99 name: appc-onap-sdnc-data-properties
100 subPath: aaiclient.properties
101 - mountPath: /opt/onap/sdnc/svclogic/config/svclogic.properties
102 name: appc-onap-sdnc-svclogic-config
103 subPath: svclogic.properties
104 - mountPath: /opt/onap/sdnc/svclogic/bin/showActiveGraphs.sh
105 name: appc-onap-sdnc-svclogic-bin
106 subPath: showActiveGraphs.sh
107 - mountPath: /opt/onap/sdnc/bin/startODL.sh
108 name: appc-onap-sdnc-bin
110 - mountPath: /opt/onap/sdnc/bin/installSdncDb.sh
111 name: appc-onap-sdnc-bin
112 subPath: installSdncDb.sh
113 - mountPath: /var/log/onap
115 - mountPath: /opt/opendaylight/current/etc/org.ops4j.pax.logging.cfg
116 name: appc-log-config
117 subPath: org.ops4j.pax.logging.cfg
119 - containerPort: 8181
120 - containerPort: 1830
124 initialDelaySeconds: 5
126 - image: {{ .Values.image.filebeat }}
127 imagePullPolicy: {{ .Values.pullPolicy }}
130 - mountPath: /usr/share/filebeat/filebeat.yml
132 subPath: filebeat.yml
133 - mountPath: /var/log/onap
135 - mountPath: /usr/share/filebeat/data
136 name: appc-data-filebeat
141 - name: filebeat-conf
143 name: appc-filebeat-configmap
144 - name: appc-log-config
146 name: appc-logging-cfg-configmap
149 - name: appc-data-filebeat
151 - name: appc-openecomp-appc-data-properties
153 name: appc-openecomp-appc-data-properties-configmap
154 - name: appc-openecomp-appc-svclogic-config
156 name: appc-openecomp-appc-svclogic-config-configmap
157 - name: appc-openecomp-appc-svclogic-bin
159 name: appc-openecomp-appc-svclogic-bin-configmap
161 - name: appc-openecomp-appc-bin
163 name: appc-openecomp-appc-bin-configmap
165 - name: appc-onap-sdnc-data-properties
167 name: appc-onap-sdnc-data-properties-configmap
168 - name: appc-onap-sdnc-svclogic-config
170 name: appc-onap-sdnc-svclogic-config-configmap
171 - name: appc-onap-sdnc-svclogic-bin
173 name: appc-onap-sdnc-svclogic-bin-configmap
175 - name: appc-onap-sdnc-bin
177 name: appc-onap-sdnc-bin-configmap
180 - name: "{{ .Values.nsPrefix }}-docker-registry-key"