[DCAEGEN2] Add Consul key delete job
[oom.git] / kubernetes / dcaegen2-services / components / dcae-datafile-collector / values.yaml
1 # ================================ 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 #################################################################
21 global:
22   nodePortPrefix: 302
23   nodePortPrefixExt: 304
24
25 #################################################################
26 # Filebeat Configuration Defaults.
27 #################################################################
28 filebeatConfig:
29   logstashServiceName: log-ls
30   logstashPort: 5044
31
32 #################################################################
33 # InitContainer Images.
34 #################################################################
35 tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
36 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
37 certPostProcessorImage: onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3
38
39 #################################################################
40 # Application Configuration Defaults.
41 #################################################################
42 # Application Image
43 image: onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.6.0
44 pullPolicy: Always
45
46 # Log directory where logging sidecar should look for log files
47 # if absent, no sidecar will be deployed
48 logDirectory: /var/log/ONAP
49
50 # Directory where TLS certs should be stored
51 # if absent, no certs will be retrieved and stored
52 certDirectory: /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.
57 tlsServer: 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
65 useCmpv2Certificates: false
66 certificates:
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
82 readinessCheck:
83   wait_for:
84     containers:
85       - dcae-config-binding-service
86       - aaf-cm
87       - dmaap-bc
88       - dmaap-provisioning-job
89
90 # Probe Configuration
91 readiness:
92   initialDelaySeconds: 10
93   periodSeconds: 15
94   timeoutSeconds: 1
95   path: /heartbeat
96   scheme: HTTP
97   port: 8100
98
99 # Service Configuration
100 service:
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
110 applicationConfig:
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
142 drFeedConfig:
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
150 drPubConfig:
151   - feedName: bulk_pm_feed
152     dcaeLocationName: loc00
153
154 # ConfigMap Configuration for Feed, Dr_Publisher
155 volumes:
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
162 flavor: small
163
164 # Segregation for Different Environment (Small and Large)
165 resources:
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
180   unlimited: {}