blob: 11cb72690c7b5d4068ed1a802c68498ce9e89c83 [file] [log] [blame]
Jack Lucasd41dbdb2021-02-16 11:07:28 -05001#============LICENSE_START========================================================
2# ================================================================================
Jack Lucas64da4e72023-03-03 14:46:05 -05003# Copyright (c) 2021-2023 J. F. Lucas. All rights reserved.
Tomasz Wrobel0d893db2022-02-17 11:50:43 +01004# Copyright (c) 2022 Nokia. All rights reserved.
sushant53d7136f12024-02-07 19:06:36 +05305# Copyright (c) 2024 Deutsche Telekom Intellectual Property. All rights reserved.
Jack Lucasd41dbdb2021-02-16 11:07:28 -05006# ================================================================================
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#################################################################
23global:
24 nodePortPrefix: 302
25 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010026 centralizedLoggingEnabled: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -050027
28#################################################################
29# Filebeat configuration defaults.
30#################################################################
31filebeatConfig:
32 logstashServiceName: log-ls
33 logstashPort: 5044
34
35#################################################################
Jack Lucasd41dbdb2021-02-16 11:07:28 -050036# Application configuration defaults.
37#################################################################
38# application image
sushant53d7136f12024-02-07 19:06:36 +053039image: onap/org.onap.dcaegen2.services.prh.prh-app-server:1.10.1
Jack Lucasd41dbdb2021-02-16 11:07:28 -050040pullPolicy: Always
41
42# log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010043# if path is set to null sidecar won't be deployed in spite of
44# global.centralizedLoggingEnabled setting.
45log:
46 path: /opt/app/prh/logs
47logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Jack Lucasd41dbdb2021-02-16 11:07:28 -050048
Jack Lucasd41dbdb2021-02-16 11:07:28 -050049secrets:
50 - uid: &aaiCredsUID aaicreds
51 type: basicAuth
52 login: '{{ .Values.aaiCreds.user }}'
53 password: '{{ .Values.aaiCreds.password }}'
54 passwordPolicy: required
55
Jack Lucasd41dbdb2021-02-16 11:07:28 -050056# probe configuration
57readiness:
58 initialDelaySeconds: 5
59 periodSeconds: 15
60 path: /heartbeat
61 scheme: HTTP
62 port: 8100
63
64# service configuration
65service:
66 type: ClusterIP
67 name: dcae-prh
68 ports:
69 - port: 8100
70 name: http
71
AndrewLambbd6ff6b2023-05-04 15:56:49 +010072serviceMesh:
73 authorizationPolicy:
74 authorizedPrincipals:
75 - serviceAccount: message-router-read
76
Jack Lucasd41dbdb2021-02-16 11:07:28 -050077aaiCreds:
78 user: AAI
79 password: AAI
80
81credentials:
82- name: AAI_USER
83 uid: *aaiCredsUID
84 key: login
85- name: AAI_PASSWORD
86 uid: *aaiCredsUID
87 key: password
88
Jack Lucasd41dbdb2021-02-16 11:07:28 -050089# initial application configuration
90applicationConfig:
91 dmaap.dmaapConsumerConfiguration.dmaapContentType: "application/json"
92 dmaap.dmaapConsumerConfiguration.consumerId: "c12"
93 dmaap.dmaapConsumerConfiguration.consumerGroup: "OpenDCAE-c12"
94 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
95 dmaap.dmaapProducerConfiguration.dmaapContentType: "application/json"
96 dmaap.dmaapUpdateProducerConfiguration.dmaapContentType: "application/json"
rope2525a7fbee2022-07-25 20:00:36 +010097 aai.aaiClientConfiguration.pnfUrl: http://aai-internal.onap.svc.cluster.local:80/aai/v23/network/pnfs/pnf
98 aai.aaiClientConfiguration.baseUrl: http://aai-internal.onap.svc.cluster.local:80/aai/v23
99 aai.aaiClientConfiguration.aaiHost: aai-internal.onap.svc.cluster.local
100 aai.aaiClientConfiguration.aaiHostPortNumber: 80
101 aai.aaiClientConfiguration.aaiProtocol: "http"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500102 aai.aaiClientConfiguration.aaiUserName: ${AAI_USER}
103 aai.aaiClientConfiguration.aaiUserPassword: ${AAI_PASSWORD}
104 aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors: true
Remigiusz Janeczek3b9d8862021-08-10 13:14:14 +0200105 aai.aaiClientConfiguration.aaiBasePath: "/aai/v23"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500106 aai.aaiClientConfiguration.aaiPnfPath: "/network/pnfs/pnf"
Tomasz Wrobel57a143b2021-08-11 11:55:41 +0200107 aai.aaiClientConfiguration.aaiServiceInstancePath: "/business/customers/customer/{{customer}}/service-subscriptions/service-subscription/{{serviceType}}/service-instances/service-instance/{{serviceInstanceId}}"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500108 aai.aaiClientConfiguration.aaiHeaders:
109 X-FromAppId: "prh"
110 X-TransactionId: "9999"
111 Accept: "application/json"
112 Real-Time: "true"
Jack Lucasf86f6292022-06-08 09:12:29 -0400113 Authorization: ${AUTH_HDR}
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500114 security.trustStorePath: "/opt/app/prh/etc/cert/trust.jks"
115 security.trustStorePasswordPath: "/opt/app/prh/etc/cert/trust.pass"
116 security.keyStorePath: "/opt/app/prh/etc/cert/cert.jks"
117 security.keyStorePasswordPath: "/opt/app/prh/etc/cert/jks.pass"
118 security.enableAaiCertAuth: false
119 security.enableDmaapCertAuth: false
120 streams_publishes:
121 pnf-update:
122 type: "message_router"
123 dmaap_info:
124 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.PNF_UPDATE
125 pnf-ready:
126 type: "message_router"
127 dmaap_info:
128 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.PNF_READY
129 streams_subscribes:
130 ves-reg-output:
131 type: "message_router"
132 dmaap_info:
133 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT
134
Remigiusz Janeczek92231d42021-08-27 16:41:56 +0200135applicationEnv:
136 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Jack Lucasf86f6292022-06-08 09:12:29 -0400137 AUTH_HDR: '{{ printf "Basic %s" (print .Values.aaiCreds.user ":" .Values.aaiCreds.password | b64enc) }}'
sushant53d7136f12024-02-07 19:06:36 +0530138 BOOTSTRAP_SERVERS: '{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092'
139 JAAS_CONFIG:
140 externalSecret: true
141 externalSecretUid: '{{ include "common.name" . }}-ku'
142 key: sasl.jaas.config
143
144# Strimzi Kafka User config
145kafkaUser:
146 acls:
147 - name: OpenDCAE-c12
148 type: group
149 patternType: literal
150 operations: [Read]
151 - name: \"*\"
152 type: topic
153 patternType: literal
154 operations: [DescribeConfigs]
155 - name: unauthenticated.VES_PNFREG_OUTPUT
156 type: topic
157 patternType: literal
158 operations: [Read]
159 - name: unauthenticated.PNF_READY
160 type: topic
161 patternType: literal
162 operations: [Write]
163 - name: unauthenticated.PNF_UPDATE
164 type: topic
165 patternType: literal
166 operations: [Write]
167
168# Strimzi Kafka Topics
169kafkaTopic:
170 - name: unauthenticated.PNF_READY
171 strimziTopicName: unauthenticated.pnf-ready
172 - name: unauthenticated.PNF_UPDATE
173 strimziTopicName: unauthenticated.pnf-update
Remigiusz Janeczek92231d42021-08-27 16:41:56 +0200174
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500175# Resource Limit flavor -By Default using small
176flavor: small
177# Segregation for Different environment (Small and Large)
178resources:
179 small:
180 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100181 cpu: "1"
182 memory: "3Gi"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500183 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100184 cpu: "0.5"
185 memory: "3Gi"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500186 large:
187 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100188 cpu: "2"
189 memory: "6Gi"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500190 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100191 cpu: "1"
192 memory: "6Gi"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500193 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200194
195#Pods Service Account
196serviceAccount:
197 nameOverride: dcae-prh
198 roles:
199 - read