blob: 6668a85ac805db40e80ab909b5c950783a58ac9b [file] [log] [blame]
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -04001# ================================ LICENSE_START =============================
2# ============================================================================
vv770d62d53782022-01-03 14:35:11 +00003# Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved.
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -04004# ============================================================================
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# Secrets Configuration.
34#################################################################
35secrets:
36 - uid: &controllerCredsUID controllercreds
37 type: basicAuth
38 login: '{{ .Values.controllerCreds.username }}'
39 password: '{{ .Values.controllerCreds.password }}'
40 passwordPolicy: required
41
42
43#################################################################
44# InitContainer Images.
45#################################################################
46tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040047consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040048
49#################################################################
50# Application Configuration Defaults.
51#################################################################
52# Application Image
vv770d62d53782022-01-03 14:35:11 +000053image: onap/org.onap.dcaegen2.collectors.restconfcollector:1.2.6
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -040054pullPolicy: Always
55
56# Log directory where logging sidecar should look for log files
57# if absent, no sidecar will be deployed
58# logDirectory: /opt/app/restconfcollector/logs
59
60# Directory where TLS certs should be stored
61# if absent, no certs will be retrieved and stored
62certDirectory: /opt/app/dcae-certificate
63
64# TLS role -- set to true if microservice acts as server
65# If true, an init container will retrieve a server cert
66# and key from AAF and mount them in certDirectory.
67tlsServer: true
68
69# Dependencies
70readinessCheck:
71 wait_for:
72 - dcae-config-binding-service
73 - aaf-cm
74
75# Probe Configuration
76readiness:
77 initialDelaySeconds: 100
78 periodSeconds: 60
79 timeoutSeconds: 5
80 path: /healthcheck
81 scheme: HTTP
82 port: 8080
83
84
85# service configuration
86service:
87 type: NodePort
88 name: dcae-restconf-collector
89 ports:
90 - name: http
91 port: 8443
92 plain_port: 8080
93 port_protocol: http
94 nodePort: 16
95 useNodePortExt: true
96
97# AAF Credentials
98controllerCreds:
99 username: access
100 password: Huawei@123
101
102credentials:
103- name: CONTROLLER_USERNAME
104 uid: *controllerCredsUID
105 key: login
106- name: CONTROLLER_PASSWORD
107 uid: *controllerCredsUID
108 key: password
109
Vijay Venkatesh Kumar5e138112021-12-14 11:41:36 -0500110# application environments
111applicationEnv:
112 LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true'
113
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -0400114# Initial Application Configuration
115applicationConfig:
116 collector.rcc.appDescription: DCAE RestConf Collector Application
117 collector.rcc.appName: dcae-rcc
118 collector.rcc.dmaap.streamid: notification=device-registration
119 collector.rcc.inputQueue.maxPending: '8096'
120 tomcat.maxthreads: '200'
121 collector.rcc.service.port: '8080'
122 collector.rcc.service.secure.port: '8687'
123 collector.rcc.keystore.file.location: /opt/app/dcae-certificate/cert.jks
124 collector.rcc.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
125 collector.rcc.keystore.alias: dynamically generated
126 collector.rcc.truststore.file.location: /opt/app/dcae-certificate/trust.jks
127 collector.rcc.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
128 #collector.keystore.file.location: /opt/app/dcae-certificate/external/cert.jks
129 #collector.keystore.passwordfile: /opt/app/dcae-certificate/external/jks.pass
130 collector.header.authflag: '0'
131 collector.header.authlist: sample1,c2FtcGxlMQ==
132 collector.rcc.service.secure.clientauth: '0'
133 streams_publishes:
134 device-registration:
135 dmaap_info:
136 topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT
137 type: message_router
138 #rcc_policy: '[{"controller_name":"AccessM&C","controller_restapiUrl":"${CONTROLLER_IP}:{CONTROLLER_PORT}","controller_restapiUser":"${CONTROLLER_USERNAME}","controller_restapiPassword":"${CONTROLLER_PASSWORD}","controller_accessTokenUrl":"/rest/plat/smapp/v1/oauth/token","controller_accessTokenFile":"./etc/access-token.json","controller_accessTokenMethod":"put","controller_subsMethod":"post","controller_subscriptionUrl":"/restconf/v1/operations/huawei-nce-notification-action:establish-subscription","controller_disableSsl":"true","event_details":[{"event_name":"ONT_registration","event_description":"ONTregistartionevent","event_sseventUrlEmbed":"true","event_sseventsField":"output.url","event_sseventsUrl":"null","event_subscriptionTemplate":"./etc/ont_registartion_subscription_template.json","event_unSubscriptionTemplate":"./etc/ont_registartion_unsubscription_template.json","event_ruleId":"12345678","modifyData":"true","modifyMethod": "modifyOntEvent","userData": "remote_id=AC9.0234.0337;svlan=100;cvlan=10;"}]}]'
139 rcc_policy: '[{"controller_name":"AccessM&C","controller_restapiUrl":"172.30.0.55:26335","controller_restapiUser":"${CONTROLLER_USERNAME}","controller_restapiPassword":"${CONTROLLER_PASSWORD}","controller_accessTokenUrl":"/rest/plat/smapp/v1/oauth/token","controller_accessTokenFile":"./etc/access-token.json","controller_accessTokenMethod":"put","controller_subsMethod":"post","controller_subscriptionUrl":"/restconf/v1/operations/huawei-nce-notification-action:establish-subscription","controller_disableSsl":"true","event_details":[{"event_name":"ONT_registration","event_description":"ONTregistartionevent","event_sseventUrlEmbed":"true","event_sseventsField":"output.url","event_sseventsUrl":"null","event_subscriptionTemplate":"./etc/ont_registartion_subscription_template.json","event_unSubscriptionTemplate":"./etc/ont_registartion_unsubscription_template.json","event_ruleId":"12345678","modifyData":"true","modifyMethod": "modifyOntEvent","userData": "remote_id=AC9.0234.0337;svlan=100;cvlan=10;"}]}]'
140
141#applicationEnv:
142# CONTROLLER_IP: "172.30.0.55"
143# CONTROLLER_PORT: "26335"
144
145
146# Resource Limit Flavor -By Default Using Small
147flavor: small
148
149# Segregation for Different Environment (Small and Large)
150resources:
151 small:
152 limits:
153 cpu: 1
154 memory: 1Gi
155 requests:
156 cpu: 1
157 memory: 1Gi
158 large:
159 limits:
160 cpu: 2
161 memory: 2Gi
162 requests:
163 cpu: 2
164 memory: 2Gi
165 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200166
167#Pods Service Account
168serviceAccount:
169 nameOverride: dcae-restconf-collector
170 roles:
171 - read