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