blob: db7c9d2231acd4a30776f689f69e7549bb33632f [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
krishnaa96bdad8552020-11-17 12:52:56 +053038image: onap/optf-osdf:3.0.2
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
86 # config db api
87 configDbUrl: http://config.db.url:8080
Dileep Ranganathanf706ae12018-10-01 04:27:13 -070088 configDbGetCellListUrl: 'SDNCConfigDBAPI/getCellList'
89 configDbGetNbrListUrl: 'SDNCConfigDBAPI/getNbrList'
krishnaa96dd54b962020-09-21 14:52:16 +053090 #aai api
91 aaiUrl: https://aai:8443
92 aaiGetLinksUrl: /aai/v16/network/logical-links
93 aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/
94 aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list
95 controllerQueryUrl: /aai/v19/query?format=resource
96 aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up
97 #des api
98 desUrl: https://des.url:9000
99 desApiPath: /datalake/v1/exposure/
krishnaa96bdad8552020-11-17 12:52:56 +0530100 desUsername: ''
101 desPassword: ''
Ikram Ikramullah40b120b2018-05-01 11:35:40 -0400102# default number of instances
103replicaCount: 1
104nodeSelector: {}
105affinity: {}
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000106# Resource Limit flavor -By Default using small
107flavor: small
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530108
109#sub-charts configuration
110certInitializer:
111 nameOverride: oof-osdf-cert-initializer
112 fqdn: "oof.onap"
113 app_ns: "org.osaaf.aaf"
114 fqi: "oof@oof.onap.org"
115 fqi_namespace: org.onap.oof
116 public_fqdn: "oof.onap.org"
117 aafDeployFqi: "deployer@people.osaaf.org"
118 aafDeployPass: demo123456!
119 cadi_latitude: "0.0"
120 cadi_longitude: "0.0"
121 credsPath: /opt/app/osaaf/local
122 appMountPath: /opt/osdf/osaaf
123 aaf_add_config: >
124 chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
125
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000126# Segregation for Different environment (Small and Large)
127resources:
128 small:
129 limits:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -0700130 memory: 2Gi
131 cpu: 1000m
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000132 requests:
133 memory: 1Gi
134 cpu: 500m
135 large:
136 limits:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -0700137 memory: 4Gi
138 cpu: 2000m
Prateekinlinuxb84ba5e2018-09-20 12:07:08 +0000139 requests:
140 memory: 2Gi
141 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000142 unlimited: {}
Ikram Ikramullah40b120b2018-05-01 11:35:40 -0400143# probe configuration parameters
144liveness:
145 initialDelaySeconds: 10
146 periodSeconds: 10
147 # necessary to disable liveness probe when setting breakpoints
148 # in debugger so K8s doesn't restart unresponsive container
149 enabled: true
150readiness:
151 initialDelaySeconds: 10
152 periodSeconds: 10
153service:
154 type: NodePort
155 name: oof-osdf
156 externalPort: 8698
157 internalPort: 8699
158 nodePort: 48
159ingress:
160 enabled: false
Lucjan Bryndzae529d752019-11-28 15:32:42 +0100161 service:
162 - baseaddr: "oofosdf"
163 name: "oof-osdf"
164 port: 8698
165 config:
Sylvain Desbureauxa64c46d2020-05-06 15:22:29 +0200166 ssl: "redirect"
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530167
168#component overrides
169
170oof-cmso:
171 enabled: true
172oof-has:
173 enabled: true
krishnaa9624a7ef32020-10-09 12:01:05 +0530174 certSecret: *oof-certs