[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   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.2
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   desUsername: ''
105   desPassword: ''
106 # default number of instances
107 replicaCount: 1
108 nodeSelector: {}
109 affinity: {}
110 # Resource Limit flavor -By Default using small
111 flavor: small
112
113 #sub-charts configuration
114 certInitializer:
115   nameOverride: oof-osdf-cert-initializer
116   fqdn: "oof.onap"
117   app_ns: "org.osaaf.aaf"
118   fqi: "oof@oof.onap.org"
119   fqi_namespace: org.onap.oof
120   public_fqdn: "oof.onap.org"
121   aafDeployFqi: "deployer@people.osaaf.org"
122   aafDeployPass: demo123456!
123   cadi_latitude: "0.0"
124   cadi_longitude: "0.0"
125   credsPath: /opt/app/osaaf/local
126   appMountPath: /opt/osdf/osaaf
127   aaf_add_config: >
128     chmod 444 {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key;
129
130 # Segregation for Different environment (Small and Large)
131 resources:
132   small:
133     limits:
134       memory: 2Gi
135       cpu: 1000m
136     requests:
137       memory: 1Gi
138       cpu: 500m
139   large:
140     limits:
141       memory: 4Gi
142       cpu: 2000m
143     requests:
144       memory: 2Gi
145       cpu: 1000m
146   unlimited: {}
147 # probe configuration parameters
148 liveness:
149   initialDelaySeconds: 10
150   periodSeconds: 10
151   # necessary to disable liveness probe when setting breakpoints
152   # in debugger so K8s doesn't restart unresponsive container
153   enabled: true
154 readiness:
155   initialDelaySeconds: 10
156   periodSeconds: 10
157 service:
158   type: NodePort
159   name: oof-osdf
160   externalPort: 8698
161   internalPort: 8699
162   nodePort: 48
163 ingress:
164   enabled: false
165   service:
166     - baseaddr: "oofosdf"
167       name: "oof-osdf"
168       port: 8698
169   config:
170     ssl: "redirect"
171
172 #component overrides
173
174 oof-cmso:
175   enabled: true
176 oof-has:
177   enabled: true
178   certSecret: *oof-certs