blob: 8ccaf460cac11b65a0e6088f10aa844f43bd0935 [file] [log] [blame]
ajay_dp001cf5232a2021-04-13 20:48:07 +05301# ================================ LICENSE_START ==========================
2# =========================================================================
3# Copyright (C) 2021 Nordix Foundation.
4# =========================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ================================= LICENSE_END ===========================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
24
25#################################################################
26# Filebeat Configuration Defaults.
27#################################################################
28filebeatConfig:
29 logstashServiceName: log-ls
30 logstashPort: 5044
31
32#################################################################
33# InitContainer Images.
34#################################################################
35tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040036consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Piotr Marcinkiewicz31dceea2021-06-29 16:15:49 +020037certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.4.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053038
39#################################################################
40# Application Configuration Defaults.
41#################################################################
42# Application Image
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +020043image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.0
ajay_dp001cf5232a2021-04-13 20:48:07 +053044pullPolicy: Always
45
46# Log directory where logging sidecar should look for log files
47# if absent, no sidecar will be deployed
48logDirectory: /var/log/ONAP
49
50# Directory where TLS certs should be stored
51# if absent, no certs will be retrieved and stored
52certDirectory: /opt/app/datafile/etc/cert
53
54# TLS role -- set to true if microservice acts as server
55# If true, an init container will retrieve a server cert
56# and key from AAF and mount them in certDirectory.
57tlsServer: true
58
59# CMPv2 certificate
60# It is used only when:
61# - certDirectory is set
62# - global cmpv2Enabled flag is set to true
63# - flag useCmpv2Certificates is set to true
64# Disabled by default
65useCmpv2Certificates: false
66certificates:
67 - mountPath: /opt/app/datafile/etc/cert/external
68 commonName: dcae-datafile-collector
69 dnsNames:
70 - dcae-datafile-collector
71 - datafile-collector
72 - datafile
73 keystore:
74 outputType:
75 - p12
76 passwordSecretRef:
77 name: datafile-collector-cmpv2-keystore-password
78 key: password
79 create: true
80
81# Dependencies
82readinessCheck:
83 wait_for:
84 containers:
85 - dcae-config-binding-service
86 - aaf-cm
87 - dmaap-bc
88 - dmaap-provisioning-job
89
90# Probe Configuration
91readiness:
92 initialDelaySeconds: 10
93 periodSeconds: 15
94 timeoutSeconds: 1
95 path: /heartbeat
96 scheme: HTTP
97 port: 8100
98
99# Service Configuration
100service:
101 type: ClusterIP
102 name: datafile-collector
103 ports:
104 - name: https
105 port: 8443
106 plain_port: 8100
107 port_protocol: http
108
109# Initial Application Configuration
110applicationConfig:
111 dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12
112 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass
113 dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks
114 dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass
115 dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12
116 dmaap.dmaapConsumerConfiguration.consumerId: C12
117 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
118 dmaap.security.enableDmaapCertAuth: true
119 dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass
120 dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks
121 dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass
122 dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks
123 service_calls: []
124 sftp.security.strictHostKeyChecking: true
125 streams_publishes:
126 PM_MEAS_FILES:
127 dmaap_info:
128 publisher_id: ${DR_FILES_PUBLISHER_ID_0}
129 location: loc00
130 log_url: ${DR_LOG_URL_0}
131 publish_url: ${DR_FILES_PUBLISHER_URL_0}
132 username: ${DR_USERNAME_0}
133 password: ${DR_PASSWORD_0}
134 type: data_router
135 streams_subscribes:
136 dmaap_subscriber:
137 dmaap_info:
138 topic_url: "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
139 type: message_router
140
141# DataRouter Feed Configuration
142drFeedConfig:
143 - feedName: bulk_pm_feed
144 owner: dcaecm
145 feedVersion: 0.0
146 asprClassification: unclassified
147 feedDescription: DFC Feed Creation
148
149# DataRouter Publisher Configuration
150drPubConfig:
151 - feedName: bulk_pm_feed
152 dcaeLocationName: loc00
153
154# ConfigMap Configuration for Feed, Dr_Publisher
155volumes:
156 - name: feeds-config
157 path: /opt/app/config/feeds
158 - name: drpub-config
159 path: /opt/app/config/dr_pubs
160
161# Resource Limit Flavor -By Default Using Small
162flavor: small
163
164# Segregation for Different Environment (Small and Large)
165resources:
166 small:
167 limits:
168 cpu: 1
169 memory: 1Gi
170 requests:
171 cpu: 500m
172 memory: 768Mi
173 large:
174 limits:
175 cpu: 2
176 memory: 2Gi
177 requests:
178 cpu: 1
179 memory: 1Gi
Joanna Jeremicz5dbd3152021-07-22 08:54:19 +0200180 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200181
182#Pods Service Account
183serviceAccount:
184 nameOverride: dcae-datafile-collector
185 roles:
186 - read