blob: 9a274153f2e4e2ea29b8daafbfe5f2a264bedbbc [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
76aaiCreds:
77 user: AAI
78 password: AAI
79
80credentials:
81- name: AAI_USER
82 uid: *aaiCredsUID
83 key: login
84- name: AAI_PASSWORD
85 uid: *aaiCredsUID
86 key: password
87
Jack Lucasd41dbdb2021-02-16 11:07:28 -050088# initial application configuration
89applicationConfig:
90 dmaap.dmaapConsumerConfiguration.dmaapContentType: "application/json"
91 dmaap.dmaapConsumerConfiguration.consumerId: "c12"
92 dmaap.dmaapConsumerConfiguration.consumerGroup: "OpenDCAE-c12"
93 dmaap.dmaapConsumerConfiguration.timeoutMs: -1
94 dmaap.dmaapProducerConfiguration.dmaapContentType: "application/json"
95 dmaap.dmaapUpdateProducerConfiguration.dmaapContentType: "application/json"
rope2525a7fbee2022-07-25 20:00:36 +010096 aai.aaiClientConfiguration.pnfUrl: http://aai-internal.onap.svc.cluster.local:80/aai/v23/network/pnfs/pnf
97 aai.aaiClientConfiguration.baseUrl: http://aai-internal.onap.svc.cluster.local:80/aai/v23
98 aai.aaiClientConfiguration.aaiHost: aai-internal.onap.svc.cluster.local
99 aai.aaiClientConfiguration.aaiHostPortNumber: 80
100 aai.aaiClientConfiguration.aaiProtocol: "http"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500101 aai.aaiClientConfiguration.aaiUserName: ${AAI_USER}
102 aai.aaiClientConfiguration.aaiUserPassword: ${AAI_PASSWORD}
103 aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors: true
Remigiusz Janeczek3b9d8862021-08-10 13:14:14 +0200104 aai.aaiClientConfiguration.aaiBasePath: "/aai/v23"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500105 aai.aaiClientConfiguration.aaiPnfPath: "/network/pnfs/pnf"
Tomasz Wrobel57a143b2021-08-11 11:55:41 +0200106 aai.aaiClientConfiguration.aaiServiceInstancePath: "/business/customers/customer/{{customer}}/service-subscriptions/service-subscription/{{serviceType}}/service-instances/service-instance/{{serviceInstanceId}}"
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500107 aai.aaiClientConfiguration.aaiHeaders:
108 X-FromAppId: "prh"
109 X-TransactionId: "9999"
110 Accept: "application/json"
111 Real-Time: "true"
Jack Lucasf86f6292022-06-08 09:12:29 -0400112 Authorization: ${AUTH_HDR}
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500113 security.trustStorePath: "/opt/app/prh/etc/cert/trust.jks"
114 security.trustStorePasswordPath: "/opt/app/prh/etc/cert/trust.pass"
115 security.keyStorePath: "/opt/app/prh/etc/cert/cert.jks"
116 security.keyStorePasswordPath: "/opt/app/prh/etc/cert/jks.pass"
117 security.enableAaiCertAuth: false
118 security.enableDmaapCertAuth: false
119 streams_publishes:
120 pnf-update:
121 type: "message_router"
122 dmaap_info:
123 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.PNF_UPDATE
124 pnf-ready:
125 type: "message_router"
126 dmaap_info:
127 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.PNF_READY
128 streams_subscribes:
129 ves-reg-output:
130 type: "message_router"
131 dmaap_info:
132 topic_url: http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT
133
Remigiusz Janeczek92231d42021-08-27 16:41:56 +0200134applicationEnv:
135 CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml'
Jack Lucasf86f6292022-06-08 09:12:29 -0400136 AUTH_HDR: '{{ printf "Basic %s" (print .Values.aaiCreds.user ":" .Values.aaiCreds.password | b64enc) }}'
Remigiusz Janeczek92231d42021-08-27 16:41:56 +0200137
Jack Lucasd41dbdb2021-02-16 11:07:28 -0500138# Resource Limit flavor -By Default using small
139flavor: small
140# Segregation for Different environment (Small and Large)
141resources:
142 small:
143 limits:
144 cpu: 2
145 memory: 2Gi
146 requests:
147 cpu: 1
148 memory: 1Gi
149 large:
150 limits:
151 cpu: 4
152 memory: 4Gi
153 requests:
154 cpu: 2
155 memory: 2Gi
156 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200157
158#Pods Service Account
159serviceAccount:
160 nameOverride: dcae-prh
161 roles:
162 - read