1 # ================================ LICENSE_START =============================
2 # ============================================================================
3 # Copyright (C) 2021 Nordix Foundation.
4 # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
5 # ============================================================================
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
10 # http://www.apache.org/licenses/LICENSE-2.0
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 ==============================
19 #################################################################
20 # Global Configuration Defaults.
21 #################################################################
24 nodePortPrefixExt: 304
25 centralizedLoggingEnabled: true
27 #################################################################
28 # Filebeat Configuration Defaults.
29 #################################################################
31 logstashServiceName: log-ls
34 #################################################################
35 # Secrets Configuration.
36 #################################################################
38 - uid: &pgUserCredsSecretUid pg-user-creds
39 name: &pgUserCredsSecretName '{{ include "common.release" . }}-pmsh-pg-user-creds'
41 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "pmsh-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
42 login: '{{ .Values.postgres.config.pgUserName }}'
43 password: '{{ .Values.postgres.config.pgUserPassword }}'
44 passwordPolicy: generate
46 #################################################################
47 # Application Configuration Defaults.
48 #################################################################
50 image: onap/org.onap.dcaegen2.services.pmsh:2.2.3
53 # Log directory where logging sidecar should look for log files
54 # if path is set to null sidecar won't be deployed in spite of
55 # global.centralizedLoggingEnabled setting.
57 path: /var/log/ONAP/dcaegen2/services/pmsh
58 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
63 - &postgresName dcae-pmsh-postgres
68 initialDelaySeconds: 10
75 # Service Configuration
88 - serviceAccount: message-router-read
89 authorizedPrincipalsPostgres:
90 - serviceAccount: dcae-pmsh-read
92 # Initial Application Configuration
95 aaf_identity: dummy_value
96 aaf_password: dummy_value
97 key_path: /opt/app/pmsh/etc/certs/key.pem
98 cert_path: /opt/app/pmsh/etc/certs/cert.pem
99 ca_cert_path: /opt/app/pmsh/etc/certs/cacert.pem
100 control_loop_name: pmsh-control-loop
101 operational_policy_name: pmsh-operational-policy
104 subscriptionName: ExtraPM-All-gNB-R2B
105 administrativeState: LOCKED
107 fileLocation: "/pm/pm.xml"
108 nfFilter: { "nfNames": [ "^pnf.*","^vnf.*" ],"modelInvariantIDs": [ ],"modelVersionIDs": [ ],"modelNames": [ ] }
109 measurementGroups: [ { "measurementGroup": { "measurementTypes": [ { "measurementType": "countera" },{ "measurementType": "counterb" } ],"managedObjectDNsBasic": [ { "DN": "dna" },{ "DN": "dnb" } ] } },{ "measurementGroup": { "measurementTypes": [ { "measurementType": "counterc" },{ "measurementType": "counterd" } ],"managedObjectDNsBasic": [ { "DN": "dnc" },{ "DN": "dnd" } ] } } ]
114 topic_url: "http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT"
116 policy_pm_subscriber:
119 topic_url: "http://message-router:3904/events/unauthenticated.PMSH_CL_INPUT"
123 topic_url: "http://message-router:3904/events/AAI-EVENT"
126 PMSH_PG_URL: &dcaePmshPgPrimary dcae-pmsh-pg-primary
128 secretUid: *pgUserCredsSecretUid
131 secretUid: *pgUserCredsSecretUid
133 PMSH_API_PORT: '8080'
135 # Resource Limit Flavor -By Default Using Small
138 # Segregation for Different Environment (Small and Large)
156 #################################################################
157 # Application configuration Overriding Defaults in the Postgres.
158 #################################################################
160 nameOverride: *postgresName
163 name2: *dcaePmshPgPrimary
164 name3: dcae-pmsh-pg-replica
167 primary: dcae-pmsh-pg-primary
168 replica: dcae-pmsh-pg-replica
170 mountSubPath: pmsh/data
175 pgUserExternalSecret: *pgUserCredsSecretName
177 #Pods Service Account
179 nameOverride: dcae-pmsh