fe93a1e1d2475201778e0345296b763e7fb8c454
[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 #sub-charts configuration
99 certInitializer:
100   nameOverride: oof-osdf-cert-initializer
101   fqdn: "oof.onap"
102   app_ns: "org.osaaf.aaf"
103   fqi: "oof@oof.onap.org"
104   fqi_namespace: org.onap.oof
105   public_fqdn: "oof.onap.org"
106   cadi_latitude: "0.0"
107   cadi_longitude: "0.0"
108   credsPath: /opt/app/osaaf/local
109   appMountPath: /opt/osdf/osaaf
110
111 # Segregation for Different environment (Small and Large)
112 resources:
113   small:
114     limits:
115       cpu: 999
116       memory: 1Gi
117     requests:
118       cpu: 0.5
119       memory: 1Gi
120   large:
121     limits:
122       cpu: 999
123       memory: 2Gi
124     requests:
125       cpu: 1
126       memory: 2Gi
127
128   unlimited: {}
129 # probe configuration parameters
130 liveness:
131   initialDelaySeconds: 10
132   periodSeconds: 10
133   # necessary to disable liveness probe when setting breakpoints
134   # in debugger so K8s doesn't restart unresponsive container
135   enabled: true
136 readiness:
137   initialDelaySeconds: 10
138   periodSeconds: 10
139 service:
140   type: NodePort
141   name: oof-osdf
142   internalPort: 8699
143   ports:
144     - name: http
145       port: 8698
146       nodePort: '48'
147 ingress:
148   enabled: false
149   service:
150     - baseaddr: "oof-osdf-api"
151       name: "oof-osdf"
152       port: 8698
153   config:
154     ssl: "redirect"
155
156 #component overrides
157
158 oof-has:
159   enabled: true
160
161 readinessCheck:
162   wait_for:
163     - policy-xacml-pdp
164
165 #Pods Service Account
166 serviceAccount:
167   nameOverride: oof
168   roles:
169     - read