Merge "[AAI] Add model-loader tracing config"
[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 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/optf-osdf:3.0.8
27 pullPolicy: Always
28
29 # flag to enable debugging - application support required
30 debugEnabled: false
31
32 # application configuration
33 config:
34   msbgateway: msb-iag
35   msbPort: 80
36   placementVersioningEnabled: True
37   # Placement API latest version numbers to be set in HTTP header
38   placementMajorVersion: "1"
39   placementMinorVersion: "0"
40   placementPatchVersion: "0"
41   # Placement API default version numbers to be set in HTTP header
42   placementDefaultMajorVersion: "1"
43   placementDefaultMinorVersion: "0"
44   placementDefaultPatchVersion: "0"
45
46   # Url and credentials for Conductor.
47   conductorUrl:
48     http: http://oof-has-api:8091/v1/plans/
49   conductorPingWaitTime: 10
50   conductorMaxRetries: 30
51   # versions to be set in HTTP header
52   conductorMinorVersion: 0
53   # Url and credentials for the Policy Platform
54   policyPlatformUrl:
55     http: http://policy-xacml-pdp:8080/policy/pdpx/v1/decision
56   policyPlatformEnv: TEST # Environment for policy platform
57   # Credentials for the message reader - A placeholder.
58   messageReaderHosts: NA
59   messageReaderTopic: NA
60   # Credentials for the SDC interface - A placeholder.
61   sdcUrl: NA
62   sdcONAPInstanceID: NA
63
64   configClientType: cps
65
66   # config db api
67   configDbUrl: http://configdb:8080
68   configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList'
69   configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList'
70
71   # cps api
72   cps:
73     url: cps-tbdmt:8080/execute
74     cellListUrl: 'ran-network/getCellList'
75     nbrListUrl: 'ran-network/getNbrList'
76
77   #aai api
78   aaiUrl:
79     http: http://aai:80
80   aaiGetLinksUrl: /aai/v16/network/logical-links
81   aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/
82   aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list
83   controllerQueryUrl: /aai/v19/query?format=resource
84   aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up
85   #des api
86   desUrl:
87     http: http://des.url:8080
88   desApiPath: /datalake/v1/exposure/
89   desUsername: ''
90   desPassword: ''
91 # default number of instances
92 replicaCount: 1
93 nodeSelector: {}
94 affinity: {}
95 # Resource Limit flavor -By Default using small
96 flavor: small
97
98 # Segregation for Different environment (Small and Large)
99 resources:
100   small:
101     limits:
102       cpu: "1"
103       memory: "1Gi"
104     requests:
105       cpu: "0.5"
106       memory: "1Gi"
107   large:
108     limits:
109       cpu: "2"
110       memory: "2Gi"
111     requests:
112       cpu: "1"
113       memory: "2Gi"
114
115   unlimited: {}
116 # probe configuration parameters
117 liveness:
118   initialDelaySeconds: 10
119   periodSeconds: 10
120   # necessary to disable liveness probe when setting breakpoints
121   # in debugger so K8s doesn't restart unresponsive container
122   enabled: true
123 readiness:
124   initialDelaySeconds: 10
125   periodSeconds: 10
126 service:
127   type: NodePort
128   name: oof-osdf
129   internalPort: 8699
130   ports:
131     - name: http
132       port: 8698
133       nodePort: '48'
134 ingress:
135   enabled: false
136   service:
137     - baseaddr: "oof-osdf-api"
138       name: "oof-osdf"
139       port: 8698
140   config:
141     ssl: "redirect"
142
143 #component overrides
144
145 oof-has:
146   enabled: true
147
148 readinessCheck:
149   wait_for:
150     services:
151       - policy-xacml-pdp
152
153 #Pods Service Account
154 serviceAccount:
155   nameOverride: oof
156   roles:
157     - read