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