blob: f5873b404e9b19e2f206dfc450230626ccb70179 [file] [log] [blame]
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04001# Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Sylvain Desbureauxb7ed2ee2019-11-29 11:35:13 +010020 persistence: {}
krishnaa9624a7ef32020-10-09 12:01:05 +053021
22#################################################################
23# Secrets metaconfig
24#################################################################
25secrets:
26 - uid: oof-onap-certs
27 name: &oof-certs '{{ include "common.release" . }}-oof-onap-certs'
28 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
29 type: generic
30 filePaths:
31 - resources/config/certs/intermediate_root_ca.pem
32 - resources/config/certs/aaf_root_ca.cer
33
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040034#################################################################
35# Application configuration defaults.
36#################################################################
37# application image
krishnaa9607fc3ea2021-08-02 11:19:16 +053038image: onap/optf-osdf:3.0.6
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040039pullPolicy: Always
40
41# flag to enable debugging - application support required
42debugEnabled: false
43
44# application configuration
45config:
Patel, Ankitkumard4b37e22018-05-29 16:56:30 -040046 msbgateway: msb-iag
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040047 msbPort: 80
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070048 placementVersioningEnabled: True
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070049 # Placement API latest version numbers to be set in HTTP header
50 placementMajorVersion: "1"
51 placementMinorVersion: "0"
52 placementPatchVersion: "0"
53 # Placement API default version numbers to be set in HTTP header
54 placementDefaultMajorVersion: "1"
55 placementDefaultMinorVersion: "0"
56 placementDefaultPatchVersion: "0"
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020057
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040058 # Url and credentials for Conductor.
vrvarma8f500492019-04-25 23:08:01 -040059 conductorUrl: https://oof-has-api:8091/v1/plans/
vrvarma96294cd2020-05-25 12:36:54 -040060 conductorPingWaitTime: 10
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040061 conductorMaxRetries: 30
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070062 # versions to be set in HTTP header
63 conductorMinorVersion: 0
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040064 # Url and credentials for the Policy Platform
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020065 policyPlatformUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision # Policy Dev platform URL
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040066 policyPlatformEnv: TEST # Environment for policy platform
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040067 # Credentials for the message reader - A placeholder.
68 messageReaderHosts: NA
69 messageReaderTopic: NA
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040070 # Credentials for the SDC interface - A placeholder.
71 sdcUrl: NA
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040072 sdcONAPInstanceID: NA
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070073 #AAF Authentication
74 is_aaf_enabled: False
vrvarma8f500492019-04-25 23:08:01 -040075 aaf_cache_expiry_mins: 5
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070076 aaf_url: https://aaf-service:8100
77 aaf_user_roles:
vrvarma8f500492019-04-25 23:08:01 -040078 - '/placement:org.onap.oof.access|*|read ALL'
79 - '/pci:org.onap.oof.access|*|read ALL'
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070080 # Secret Management Service from AAF
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070081 aaf_sms_url: https://aaf-sms
82 aaf_sms_port: 10443
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070083 aaf_sms_timeout: 30
84 secret_domain: osdf
85 aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer
krishnaa9607fc3ea2021-08-02 11:19:16 +053086 configClientType: cps
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070087 # config db api
krishnaa96c1e3e0c2020-12-07 12:54:32 +053088 configDbUrl: http://configdb:8080
89 configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList'
90 configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList'
krishnaa9607fc3ea2021-08-02 11:19:16 +053091 # cps api
92 cps:
93 url: cps-tbdmt:8080/execute
94 cellListUrl: 'ran-network/getCellList'
95 nbrListUrl: 'ran-network/getNbrList'
96
krishnaa96dd54b962020-09-21 14:52:16 +053097 #aai api
98 aaiUrl: https://aai:8443
99 aaiGetLinksUrl: /aai/v16/network/logical-links
100 aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/
101 aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list
102 controllerQueryUrl: /aai/v19/query?format=resource
103 aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up
104 #des api
105 desUrl: https://des.url:9000
106 desApiPath: /datalake/v1/exposure/
krishnaa96bdad8552020-11-17 12:52:56 +0530107 desUsername: ''
108 desPassword: ''
Ikram Ikramullah40b120b2018-05-01 11:35:40 -0400109# default number of instances
110replicaCount: 1
111nodeSelector: {}
112affinity: {}
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000113# Resource Limit flavor -By Default using small
114flavor: small
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530115
116#sub-charts configuration
117certInitializer:
118 nameOverride: oof-osdf-cert-initializer
119 fqdn: "oof.onap"
120 app_ns: "org.osaaf.aaf"
121 fqi: "oof@oof.onap.org"
122 fqi_namespace: org.onap.oof
123 public_fqdn: "oof.onap.org"
124 aafDeployFqi: "deployer@people.osaaf.org"
125 aafDeployPass: demo123456!
126 cadi_latitude: "0.0"
127 cadi_longitude: "0.0"
128 credsPath: /opt/app/osaaf/local
129 appMountPath: /opt/osdf/osaaf
130 aaf_add_config: >
131 chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
132
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000133# Segregation for Different environment (Small and Large)
134resources:
135 small:
136 limits:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -0700137 memory: 2Gi
138 cpu: 1000m
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000139 requests:
140 memory: 1Gi
141 cpu: 500m
142 large:
143 limits:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -0700144 memory: 4Gi
145 cpu: 2000m
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000146 requests:
147 memory: 2Gi
148 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000149 unlimited: {}
Ikram Ikramullah40b120b2018-05-01 11:35:40 -0400150# probe configuration parameters
151liveness:
152 initialDelaySeconds: 10
153 periodSeconds: 10
154 # necessary to disable liveness probe when setting breakpoints
155 # in debugger so K8s doesn't restart unresponsive container
156 enabled: true
157readiness:
158 initialDelaySeconds: 10
159 periodSeconds: 10
160service:
161 type: NodePort
162 name: oof-osdf
163 externalPort: 8698
164 internalPort: 8699
165 nodePort: 48
166ingress:
167 enabled: false
Lucjan Bryndzae529d752019-11-28 15:32:42 +0100168 service:
169 - baseaddr: "oofosdf"
170 name: "oof-osdf"
171 port: 8698
172 config:
Sylvain Desbureauxa64c46d2020-05-06 15:22:29 +0200173 ssl: "redirect"
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530174
175#component overrides
176
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530177oof-has:
178 enabled: true
krishnaa9624a7ef32020-10-09 12:01:05 +0530179 certSecret: *oof-certs
farida azmyb3e25ca2021-10-27 15:56:35 +0200180
181#Pods Service Account
182serviceAccount:
183 nameOverride: oof
184 roles:
185 - read