blob: ad29e33a9011b1bec3f6612e78ce4df0ef7d4887 [file] [log] [blame]
Vijay Venkatesh Kumarc269b262021-06-29 13:49:15 -04001# ================================ LICENSE_START =============================
2# ============================================================================
3# Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
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# 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
53image: onap/org.onap.dcaegen2.collectors.restconfcollector:1.2.5
54pullPolicy: 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
110# Initial Application Configuration
111applicationConfig:
112 collector.rcc.appDescription: DCAE RestConf Collector Application
113 collector.rcc.appName: dcae-rcc
114 collector.rcc.dmaap.streamid: notification=device-registration
115 collector.rcc.inputQueue.maxPending: '8096'
116 tomcat.maxthreads: '200'
117 collector.rcc.service.port: '8080'
118 collector.rcc.service.secure.port: '8687'
119 collector.rcc.keystore.file.location: /opt/app/dcae-certificate/cert.jks
120 collector.rcc.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass
121 collector.rcc.keystore.alias: dynamically generated
122 collector.rcc.truststore.file.location: /opt/app/dcae-certificate/trust.jks
123 collector.rcc.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass
124 #collector.keystore.file.location: /opt/app/dcae-certificate/external/cert.jks
125 #collector.keystore.passwordfile: /opt/app/dcae-certificate/external/jks.pass
126 collector.header.authflag: '0'
127 collector.header.authlist: sample1,c2FtcGxlMQ==
128 collector.rcc.service.secure.clientauth: '0'
129 streams_publishes:
130 device-registration:
131 dmaap_info:
132 topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT
133 type: message_router
134 #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;"}]}]'
135 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;"}]}]'
136
137#applicationEnv:
138# CONTROLLER_IP: "172.30.0.55"
139# CONTROLLER_PORT: "26335"
140
141
142# Resource Limit Flavor -By Default Using Small
143flavor: small
144
145# Segregation for Different Environment (Small and Large)
146resources:
147 small:
148 limits:
149 cpu: 1
150 memory: 1Gi
151 requests:
152 cpu: 1
153 memory: 1Gi
154 large:
155 limits:
156 cpu: 2
157 memory: 2Gi
158 requests:
159 cpu: 2
160 memory: 2Gi
161 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200162
163#Pods Service Account
164serviceAccount:
165 nameOverride: dcae-restconf-collector
166 roles:
167 - read