Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / oof / values.yaml
1 # 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 #################################################################
18 global:
19   nodePortPrefix: 302
20   persistence: {}
21
22 #################################################################
23 # Secrets metaconfig
24 #################################################################
25 secrets:
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
34 #################################################################
35 # Application configuration defaults.
36 #################################################################
37 # application image
38 image: onap/optf-osdf:3.0.7
39 pullPolicy: Always
40
41 # flag to enable debugging - application support required
42 debugEnabled: false
43
44 # application configuration
45 config:
46   msbgateway: msb-iag
47   msbPort: 80
48   placementVersioningEnabled: True
49   # 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"
57
58   # Url and credentials for Conductor.
59   conductorUrl:
60     https: https://oof-has-api:8091/v1/plans/
61     http: http://oof-has-api:8091/v1/plans/
62   conductorPingWaitTime: 10
63   conductorMaxRetries: 30
64   # versions to be set in HTTP header
65   conductorMinorVersion: 0
66   # Url and credentials for the Policy Platform
67   policyPlatformUrl:
68     https: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision  # Policy Dev platform URL
69     http: http://policy-xacml-pdp:8080/policy/pdpx/v1/decision
70   policyPlatformEnv: TEST # Environment for policy platform
71   # Credentials for the message reader - A placeholder.
72   messageReaderHosts: NA
73   messageReaderTopic: NA
74   # Credentials for the SDC interface - A placeholder.
75   sdcUrl: NA
76   sdcONAPInstanceID: NA
77   #AAF Authentication
78   is_aaf_enabled: False
79   aaf_cache_expiry_mins: 5
80   aaf_url:
81     https: https://aaf-service:8100
82     http: http://aaf-service:8080
83   aaf_user_roles:
84       - '/placement:org.onap.oof.access|*|read ALL'
85       - '/pci:org.onap.oof.access|*|read ALL'
86   # Secret Management Service from AAF
87   aaf_sms_url:
88     https: https://aaf-sms
89     http: http://aaf-sms
90   aaf_sms_port: 10443
91   aaf_sms_timeout: 30
92   secret_domain: osdf
93   aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer
94   configClientType: cps
95   # config db api
96   configDbUrl: http://configdb:8080
97   configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList'
98   configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList'
99   # cps api
100   cps:
101     url: cps-tbdmt:8080/execute
102     cellListUrl: 'ran-network/getCellList'
103     nbrListUrl: 'ran-network/getNbrList'
104
105   #aai api
106   aaiUrl:
107     https: https://aai:8443
108     http: http://aai:8080
109   aaiGetLinksUrl: /aai/v16/network/logical-links
110   aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/
111   aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list
112   controllerQueryUrl: /aai/v19/query?format=resource
113   aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up
114   #des api
115   desUrl:
116     https: https://des.url:9000
117     http: http://des.url:8080
118   desApiPath: /datalake/v1/exposure/
119   desUsername: ''
120   desPassword: ''
121 # default number of instances
122 replicaCount: 1
123 nodeSelector: {}
124 affinity: {}
125 # Resource Limit flavor -By Default using small
126 flavor: small
127
128 #sub-charts configuration
129 certInitializer:
130   nameOverride: oof-osdf-cert-initializer
131   fqdn: "oof.onap"
132   app_ns: "org.osaaf.aaf"
133   fqi: "oof@oof.onap.org"
134   fqi_namespace: org.onap.oof
135   public_fqdn: "oof.onap.org"
136   aafDeployFqi: "deployer@people.osaaf.org"
137   aafDeployPass: demo123456!
138   cadi_latitude: "0.0"
139   cadi_longitude: "0.0"
140   credsPath: /opt/app/osaaf/local
141   appMountPath: /opt/osdf/osaaf
142   aaf_add_config: >
143     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
144
145 # Segregation for Different environment (Small and Large)
146 resources:
147   small:
148     limits:
149       memory: 2Gi
150       cpu: 1000m
151     requests:
152       memory: 1Gi
153       cpu: 500m
154   large:
155     limits:
156       memory: 4Gi
157       cpu: 2000m
158     requests:
159       memory: 2Gi
160       cpu: 1000m
161   unlimited: {}
162 # probe configuration parameters
163 liveness:
164   initialDelaySeconds: 10
165   periodSeconds: 10
166   # necessary to disable liveness probe when setting breakpoints
167   # in debugger so K8s doesn't restart unresponsive container
168   enabled: true
169 readiness:
170   initialDelaySeconds: 10
171   periodSeconds: 10
172 service:
173   type: NodePort
174   name: oof-osdf
175   externalPort: 8698
176   internalPort: 8699
177   nodePort: 48
178 ingress:
179   enabled: false
180   service:
181     - baseaddr: "oof-osdf-api"
182       name: "oof-osdf"
183       port: 8698
184   config:
185     ssl: "redirect"
186
187 #component overrides
188
189 oof-has:
190   enabled: true
191   certSecret: *oof-certs
192
193 #Pods Service Account
194 serviceAccount:
195   nameOverride: oof
196   roles:
197     - read