blob: 16fd772dd5f7c95393d5641facf9c6d8329b2e13 [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.
Jack Lucasd41dbdb2021-02-16 11:07:28 -05005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=========================================================
18
19#################################################################
20# Global configuration defaults.
21#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010025 centralizedLoggingEnabled: true
Jack Lucasd41dbdb2021-02-16 11:07:28 -050026
27#################################################################
28# Filebeat configuration defaults.
29#################################################################
30filebeatConfig:
31 logstashServiceName: log-ls
32 logstashPort: 5044
33
34#################################################################
Jack Lucasd41dbdb2021-02-16 11:07:28 -050035# Application configuration defaults.
36#################################################################
37# application image
sangeeta.bellaraf24b5692023-04-29 19:18:30 +053038image: onap/org.onap.dcaegen2.services.prh.prh-app-server:1.9.0
Jack Lucasd41dbdb2021-02-16 11:07:28 -050039pullPolicy: Always
40
41# log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010042# if path is set to null sidecar won't be deployed in spite of
43# global.centralizedLoggingEnabled setting.
44log:
45 path: /opt/app/prh/logs
46logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Jack Lucasd41dbdb2021-02-16 11:07:28 -050047
Jack Lucasd41dbdb2021-02-16 11:07:28 -050048secrets:
49 - uid: &aaiCredsUID aaicreds
50 type: basicAuth
51 login: '{{ .Values.aaiCreds.user }}'
52 password: '{{ .Values.aaiCreds.password }}'
53 passwordPolicy: required
54
55# dependencies
56readinessCheck:
57 wait_for:
rope2525a7fbee2022-07-25 20:00:36 +010058 - message-router
Jack Lucasd41dbdb2021-02-16 11:07:28 -050059
60# probe configuration
61readiness:
62 initialDelaySeconds: 5
63 periodSeconds: 15
64 path: /heartbeat
65 scheme: HTTP
66 port: 8100
67
68# service configuration
69service:
70 type: ClusterIP
71 name: dcae-prh
72 ports:
73 - port: 8100
74 name: http
75
AndrewLambbd6ff6b2023-05-04 15:56:49 +010076serviceMesh:
77 authorizationPolicy:
78 authorizedPrincipals:
79 - serviceAccount: message-router-read
80
Jack Lucasd41dbdb2021-02-16 11:07:28 -050081aaiCreds:
82 user: AAI
83 password: AAI
84
85credentials:
86- name: AAI_USER
87 uid: *aaiCredsUID
88 key: login
89- name: AAI_PASSWORD
90 uid: *aaiCredsUID
91 key: password
92
Jack Lucasd41dbdb2021-02-16 11:07:28 -050093# initial application configuration
94applicationConfig:
95 dmaap.dmaapConsumerConfiguration.dmaapContentType: "application/json"
96 dmaap.dmaapConsumerConfiguration.consumerId: "c12"
97 dmaap.dmaapConsumerConfiguration.consumerGroup: "OpenDCAE-c12"
98 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
99 dmaap.dmaapProducerConfiguration.dmaapContentType: "application/json"
100 dmaap.dmaapUpdateProducerConfiguration.dmaapContentType: "application/json"
rope2525a7fbee2022-07-25 20:00:36 +0100101 aai.aaiClientConfiguration.pnfUrl: http://aai-internal.onap.svc.cluster.local:80/aai/v23/network/pnfs/pnf
102 aai.aaiClientConfiguration.baseUrl: http://aai-internal.onap.svc.cluster.local:80/aai/v23
103 aai.aaiClientConfiguration.aaiHost: aai-internal.onap.svc.cluster.local
104 aai.aaiClientConfiguration.aaiHostPortNumber: 80
105 aai.aaiClientConfiguration.aaiProtocol: "http"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500106 aai.aaiClientConfiguration.aaiUserName: ${AAI_USER}
107 aai.aaiClientConfiguration.aaiUserPassword: ${AAI_PASSWORD}
108 aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors: true
Remigiusz Janeczek3b9d8862021-08-10 13:14:14 +0200109 aai.aaiClientConfiguration.aaiBasePath: "/aai/v23"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500110 aai.aaiClientConfiguration.aaiPnfPath: "/network/pnfs/pnf"
Tomasz Wrobel57a143b2021-08-11 11:55:41 +0200111 aai.aaiClientConfiguration.aaiServiceInstancePath: "/business/customers/customer/{{customer}}/service-subscriptions/service-subscription/{{serviceType}}/service-instances/service-instance/{{serviceInstanceId}}"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500112 aai.aaiClientConfiguration.aaiHeaders:
113 X-FromAppId: "prh"
114 X-TransactionId: "9999"
115 Accept: "application/json"
116 Real-Time: "true"
Jack Lucasf86f6292022-06-08 09:12:29 -0400117 Authorization: ${AUTH_HDR}
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500118 security.trustStorePath: "/opt/app/prh/etc/cert/trust.jks"
119 security.trustStorePasswordPath: "/opt/app/prh/etc/cert/trust.pass"
120 security.keyStorePath: "/opt/app/prh/etc/cert/cert.jks"
121 security.keyStorePasswordPath: "/opt/app/prh/etc/cert/jks.pass"
122 security.enableAaiCertAuth: false
123 security.enableDmaapCertAuth: false
124 streams_publishes:
125 pnf-update:
126 type: "message_router"
127 dmaap_info:
128 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.PNF_UPDATE
129 pnf-ready:
130 type: "message_router"
131 dmaap_info:
132 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.PNF_READY
133 streams_subscribes:
134 ves-reg-output:
135 type: "message_router"
136 dmaap_info:
137 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT
138
Remigiusz Janeczek92231d42021-08-27 16:41:56 +0200139applicationEnv:
140 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Jack Lucasf86f6292022-06-08 09:12:29 -0400141 AUTH_HDR: '{{ printf "Basic %s" (print .Values.aaiCreds.user ":" .Values.aaiCreds.password | b64enc) }}'
Remigiusz Janeczek92231d42021-08-27 16:41:56 +0200142
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500143# Resource Limit flavor -By Default using small
144flavor: small
145# Segregation for Different environment (Small and Large)
146resources:
147 small:
148 limits:
vladimir turokdb8167b2023-09-20 11:09:21 +0200149 cpu: 1
Andreas Geissler555db9c2023-06-20 11:38:39 +0200150 memory: 3Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500151 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200152 cpu: 0.5
153 memory: 3Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500154 large:
155 limits:
vladimir turokdb8167b2023-09-20 11:09:21 +0200156 cpu: 2
Andreas Geissler555db9c2023-06-20 11:38:39 +0200157 memory: 6Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500158 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200159 cpu: 1
160 memory: 6Gi
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500161 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200162
163#Pods Service Account
164serviceAccount:
165 nameOverride: dcae-prh
166 roles:
167 - read