87202e16dd6e21c984d4ed8d1d5b4af18dafab19
[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       memory: 2Gi
116       cpu: 1000m
117     requests:
118       memory: 1Gi
119       cpu: 500m
120   large:
121     limits:
122       memory: 4Gi
123       cpu: 2000m
124     requests:
125       memory: 2Gi
126       cpu: 1000m
127   unlimited: {}
128 # probe configuration parameters
129 liveness:
130   initialDelaySeconds: 10
131   periodSeconds: 10
132   # necessary to disable liveness probe when setting breakpoints
133   # in debugger so K8s doesn't restart unresponsive container
134   enabled: true
135 readiness:
136   initialDelaySeconds: 10
137   periodSeconds: 10
138 service:
139   type: NodePort
140   name: oof-osdf
141   internalPort: 8699
142   ports:
143     - name: http
144       port: 8698
145       nodePort: '48'
146 ingress:
147   enabled: false
148   service:
149     - baseaddr: "oof-osdf-api"
150       name: "oof-osdf"
151       port: 8698
152   config:
153     ssl: "redirect"
154
155 #component overrides
156
157 oof-has:
158   enabled: true
159
160 readinessCheck:
161   wait_for:
162     - policy-xacml-pdp
163
164 #Pods Service Account
165 serviceAccount:
166   nameOverride: oof
167   roles:
168     - read