Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 1 | # ================================ LICENSE_START ============================= |
| 2 | # ============================================================================ |
vv770d | 62d5378 | 2022-01-03 14:35:11 +0000 | [diff] [blame] | 3 | # Copyright (c) 2021-2022 AT&T Intellectual Property. All rights reserved. |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame] | 4 | # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved. |
pranitk1905 | 69f72f3 | 2023-04-17 15:46:19 +0530 | [diff] [blame] | 5 | # Copyright (c) 2023 Deutsche Telekom AG. All rights reserved. |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 6 | # ============================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ================================= LICENSE_END ============================== |
| 19 | |
| 20 | ################################################################# |
| 21 | # Global Configuration Defaults. |
| 22 | ################################################################# |
| 23 | global: |
| 24 | nodePortPrefix: 302 |
| 25 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 26 | centralizedLoggingEnabled: false |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Filebeat Configuration Defaults. |
| 30 | ################################################################# |
| 31 | filebeatConfig: |
| 32 | logstashServiceName: log-ls |
| 33 | logstashPort: 5044 |
| 34 | |
| 35 | ################################################################# |
| 36 | # Secrets Configuration. |
| 37 | ################################################################# |
| 38 | secrets: |
| 39 | - uid: &controllerCredsUID controllercreds |
| 40 | type: basicAuth |
| 41 | login: '{{ .Values.controllerCreds.username }}' |
| 42 | password: '{{ .Values.controllerCreds.password }}' |
| 43 | passwordPolicy: required |
| 44 | |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 45 | ################################################################# |
| 46 | # Application Configuration Defaults. |
| 47 | ################################################################# |
| 48 | # Application Image |
pranitk1905 | 69f72f3 | 2023-04-17 15:46:19 +0530 | [diff] [blame] | 49 | image: onap/org.onap.dcaegen2.collectors.restconfcollector:1.4.1 |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 50 | pullPolicy: Always |
| 51 | |
| 52 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 53 | # if path is set to null sidecar won't be deployed in spite of |
| 54 | # global.centralizedLoggingEnabled setting. |
| 55 | log: |
| 56 | path: null # /opt/app/restconfcollector/logs |
| 57 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 58 | |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 59 | # Dependencies |
| 60 | readinessCheck: |
| 61 | wait_for: |
Andreas Geissler | ee11910 | 2024-04-11 13:53:39 +0200 | [diff] [blame] | 62 | services: |
| 63 | - message-router |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 64 | |
| 65 | # Probe Configuration |
| 66 | readiness: |
| 67 | initialDelaySeconds: 100 |
| 68 | periodSeconds: 60 |
| 69 | timeoutSeconds: 5 |
| 70 | path: /healthcheck |
| 71 | scheme: HTTP |
| 72 | port: 8080 |
| 73 | |
| 74 | |
| 75 | # service configuration |
| 76 | service: |
| 77 | type: NodePort |
| 78 | name: dcae-restconf-collector |
| 79 | ports: |
| 80 | - name: http |
| 81 | port: 8443 |
| 82 | plain_port: 8080 |
| 83 | port_protocol: http |
| 84 | nodePort: 16 |
| 85 | useNodePortExt: true |
| 86 | |
Andreas Geissler | 261763a | 2022-10-17 18:39:54 +0200 | [diff] [blame] | 87 | ingress: |
| 88 | enabled: false |
| 89 | service: |
| 90 | - baseaddr: "dcae-restconf-collector-api" |
| 91 | name: "dcae-restconf-collector" |
| 92 | port: 8443 |
| 93 | plain_port: 8080 |
| 94 | config: |
| 95 | ssl: "redirect" |
| 96 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 97 | serviceMesh: |
| 98 | authorizationPolicy: |
| 99 | authorizedPrincipals: |
| 100 | - serviceAccount: istio-ingress |
| 101 | namespace: istio-ingress |
| 102 | |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 103 | # AAF Credentials |
| 104 | controllerCreds: |
| 105 | username: access |
| 106 | password: Huawei@123 |
| 107 | |
| 108 | credentials: |
| 109 | - name: CONTROLLER_USERNAME |
| 110 | uid: *controllerCredsUID |
| 111 | key: login |
| 112 | - name: CONTROLLER_PASSWORD |
| 113 | uid: *controllerCredsUID |
| 114 | key: password |
| 115 | |
Vijay Venkatesh Kumar | 5e13811 | 2021-12-14 11:41:36 -0500 | [diff] [blame] | 116 | # application environments |
| 117 | applicationEnv: |
| 118 | LOG4J_FORMAT_MSG_NO_LOOKUPS: 'true' |
| 119 | |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 120 | # Initial Application Configuration |
| 121 | applicationConfig: |
| 122 | collector.rcc.appDescription: DCAE RestConf Collector Application |
| 123 | collector.rcc.appName: dcae-rcc |
| 124 | collector.rcc.dmaap.streamid: notification=device-registration |
| 125 | collector.rcc.inputQueue.maxPending: '8096' |
| 126 | tomcat.maxthreads: '200' |
| 127 | collector.rcc.service.port: '8080' |
Andreas Geissler | b0841b8 | 2022-12-16 10:40:21 +0100 | [diff] [blame] | 128 | # Disabling of secure port not working (DCAEGEN2-3336) |
| 129 | collector.rcc.service.secure.port: '0' |
| 130 | #collector.rcc.service.secure.port: '8687' |
| 131 | #collector.rcc.keystore.file.location: /opt/app/dcae-certificate/cert.jks |
| 132 | #collector.rcc.keystore.passwordfile: /opt/app/dcae-certificate/jks.pass |
| 133 | #collector.rcc.keystore.alias: dynamically generated |
| 134 | #collector.rcc.truststore.file.location: /opt/app/dcae-certificate/trust.jks |
| 135 | #collector.rcc.truststore.passwordfile: /opt/app/dcae-certificate/trust.pass |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 136 | #collector.keystore.file.location: /opt/app/dcae-certificate/external/cert.jks |
| 137 | #collector.keystore.passwordfile: /opt/app/dcae-certificate/external/jks.pass |
| 138 | collector.header.authflag: '0' |
| 139 | collector.header.authlist: sample1,c2FtcGxlMQ== |
| 140 | collector.rcc.service.secure.clientauth: '0' |
| 141 | streams_publishes: |
| 142 | device-registration: |
| 143 | dmaap_info: |
| 144 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_RCC_OUTPUT |
| 145 | type: message_router |
Vijay Venkatesh Kumar | 0e73b02 | 2022-09-13 12:37:13 -0400 | [diff] [blame] | 146 | 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;"}]}]' |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 147 | |
| 148 | #applicationEnv: |
| 149 | # CONTROLLER_IP: "172.30.0.55" |
| 150 | # CONTROLLER_PORT: "26335" |
| 151 | |
| 152 | |
| 153 | # Resource Limit Flavor -By Default Using Small |
| 154 | flavor: small |
| 155 | |
| 156 | # Segregation for Different Environment (Small and Large) |
| 157 | resources: |
| 158 | small: |
| 159 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 160 | cpu: "1" |
| 161 | memory: "1Gi" |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 162 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 163 | cpu: "1" |
| 164 | memory: "1Gi" |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 165 | large: |
| 166 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 167 | cpu: "2" |
| 168 | memory: "2Gi" |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 169 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 170 | cpu: "2" |
| 171 | memory: "2Gi" |
Vijay Venkatesh Kumar | c269b26 | 2021-06-29 13:49:15 -0400 | [diff] [blame] | 172 | unlimited: {} |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 173 | |
| 174 | #Pods Service Account |
| 175 | serviceAccount: |
| 176 | nameOverride: dcae-restconf-collector |
| 177 | roles: |
| 178 | - read |