Merge "[CONSUL] Add limits to consul chart."
[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   readinessImage: onap/oom/readiness:3.0.1
21   loggingRepository: docker.elastic.co
22   loggingImage: beats/filebeat:5.5.0
23   persistence: {}
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
29   - uid: oof-onap-certs
30     name: &oof-certs '{{ include "common.release" . }}-oof-onap-certs'
31     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
32     type: generic
33     filePaths:
34       - resources/config/certs/intermediate_root_ca.pem
35       - resources/config/certs/aaf_root_ca.cer
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 # application image
41 repository: nexus3.onap.org:10001
42 image: onap/optf-osdf:3.0.1
43 pullPolicy: Always
44
45 # flag to enable debugging - application support required
46 debugEnabled: false
47
48 # application configuration
49 config:
50   msbgateway: msb-iag
51   msbPort: 80
52   placementVersioningEnabled: True
53   # Placement API latest version numbers to be set in HTTP header
54   placementMajorVersion: "1"
55   placementMinorVersion: "0"
56   placementPatchVersion: "0"
57   # Placement API default version numbers to be set in HTTP header
58   placementDefaultMajorVersion: "1"
59   placementDefaultMinorVersion: "0"
60   placementDefaultPatchVersion: "0"
61
62   # Url and credentials for Conductor.
63   conductorUrl: https://oof-has-api:8091/v1/plans/
64   conductorPingWaitTime: 10
65   conductorMaxRetries: 30
66   # versions to be set in HTTP header
67   conductorMinorVersion: 0
68   # Url and credentials for the Policy Platform
69   policyPlatformUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision  # Policy Dev platform URL
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: https://aaf-service:8100
81   aaf_user_roles:
82       - '/placement:org.onap.oof.access|*|read ALL'
83       - '/pci:org.onap.oof.access|*|read ALL'
84   # Secret Management Service from AAF
85   aaf_sms_url: https://aaf-sms
86   aaf_sms_port: 10443
87   aaf_sms_timeout: 30
88   secret_domain: osdf
89   aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer
90   # config db api
91   configDbUrl: http://config.db.url:8080
92   configDbGetCellListUrl: 'SDNCConfigDBAPI/getCellList'
93   configDbGetNbrListUrl: 'SDNCConfigDBAPI/getNbrList'
94   #aai api
95   aaiUrl: https://aai:8443
96   aaiGetLinksUrl: /aai/v16/network/logical-links
97   aaiServiceInstanceUrl : /aai/v20/nodes/service-instances/service-instance/
98   aaiGetControllersUrl: /aai/v19/external-system/esr-thirdparty-sdnc-list
99   controllerQueryUrl: /aai/v19/query?format=resource
100   aaiGetInterDomainLinksUrl: /aai/v19/network/logical-links?link-type=inter-domain&operational-status=up
101   #des api
102   desUrl: https://des.url:9000
103   desApiPath: /datalake/v1/exposure/
104
105 # default number of instances
106 replicaCount: 1
107 nodeSelector: {}
108 affinity: {}
109 # Resource Limit flavor -By Default using small
110 flavor: small
111
112 #sub-charts configuration
113 certInitializer:
114   nameOverride: oof-osdf-cert-initializer
115   fqdn: "oof.onap"
116   app_ns: "org.osaaf.aaf"
117   fqi: "oof@oof.onap.org"
118   fqi_namespace: org.onap.oof
119   public_fqdn: "oof.onap.org"
120   aafDeployFqi: "deployer@people.osaaf.org"
121   aafDeployPass: demo123456!
122   cadi_latitude: "0.0"
123   cadi_longitude: "0.0"
124   credsPath: /opt/app/osaaf/local
125   appMountPath: /opt/osdf/osaaf
126   aaf_add_config: >
127     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
128
129 # Segregation for Different environment (Small and Large)
130 resources:
131   small:
132     limits:
133       memory: 2Gi
134       cpu: 1000m
135     requests:
136       memory: 1Gi
137       cpu: 500m
138   large:
139     limits:
140       memory: 4Gi
141       cpu: 2000m
142     requests:
143       memory: 2Gi
144       cpu: 1000m
145   unlimited: {}
146 # probe configuration parameters
147 liveness:
148   initialDelaySeconds: 10
149   periodSeconds: 10
150   # necessary to disable liveness probe when setting breakpoints
151   # in debugger so K8s doesn't restart unresponsive container
152   enabled: true
153 readiness:
154   initialDelaySeconds: 10
155   periodSeconds: 10
156 service:
157   type: NodePort
158   name: oof-osdf
159   externalPort: 8698
160   internalPort: 8699
161   nodePort: 48
162 ingress:
163   enabled: false
164   service:
165     - baseaddr: "oofosdf"
166       name: "oof-osdf"
167       port: 8698
168   config:
169     ssl: "redirect"
170
171 #component overrides
172
173 oof-cmso:
174   enabled: true
175 oof-has:
176   enabled: true
177   certSecret: *oof-certs