13e00458587627a422d385d05c736ef8175f957b
[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   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   persistence: {}
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/optf-osdf:2.0.4
31 pullPolicy: Always
32
33 # flag to enable debugging - application support required
34 debugEnabled: false
35
36 # application configuration
37 config:
38   msbgateway: msb-iag
39   msbPort: 80
40   placementVersioningEnabled: True
41   # Placement API latest version numbers to be set in HTTP header
42   placementMajorVersion: "1"
43   placementMinorVersion: "0"
44   placementPatchVersion: "0"
45   # Placement API default version numbers to be set in HTTP header
46   placementDefaultMajorVersion: "1"
47   placementDefaultMinorVersion: "0"
48   placementDefaultPatchVersion: "0"
49
50   # Url and credentials for Conductor.
51   conductorUrl: https://oof-has-api:8091/v1/plans/
52   conductorPingWaitTime: 10
53   conductorMaxRetries: 30
54   # versions to be set in HTTP header
55   conductorMinorVersion: 0
56   # Url and credentials for the Policy Platform
57   policyPlatformUrl: https://policy-xacml-pdp:6969/policy/pdpx/v1/decision  # Policy Dev platform URL
58   policyPlatformEnv: TEST # Environment for policy platform
59   # Credentials for the message reader - A placeholder.
60   messageReaderHosts: NA
61   messageReaderTopic: NA
62   # Credentials for the SDC interface - A placeholder.
63   sdcUrl: NA
64   sdcONAPInstanceID: NA
65   #AAF Authentication
66   is_aaf_enabled: False
67   aaf_cache_expiry_mins: 5
68   aaf_url: https://aaf-service:8100
69   aaf_user_roles:
70       - '/placement:org.onap.oof.access|*|read ALL'
71       - '/pci:org.onap.oof.access|*|read ALL'
72   # Secret Management Service from AAF
73   aaf_sms_url: https://aaf-sms
74   aaf_sms_port: 10443
75   aaf_sms_timeout: 30
76   secret_domain: osdf
77   aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer
78   # config db api
79   configDbUrl: http://config.db.url:8080
80   configDbGetCellListUrl: 'SDNCConfigDBAPI/getCellList'
81   configDbGetNbrListUrl: 'SDNCConfigDBAPI/getNbrList'
82 # default number of instances
83 replicaCount: 1
84 nodeSelector: {}
85 affinity: {}
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 # Segregation for Different environment (Small and Large)
89 resources:
90   small:
91     limits:
92       memory: 2Gi
93       cpu: 1000m
94     requests:
95       memory: 1Gi
96       cpu: 500m
97   large:
98     limits:
99       memory: 4Gi
100       cpu: 2000m
101     requests:
102       memory: 2Gi
103       cpu: 1000m
104   unlimited: {}
105 # probe configuration parameters
106 liveness:
107   initialDelaySeconds: 10
108   periodSeconds: 10
109   # necessary to disable liveness probe when setting breakpoints
110   # in debugger so K8s doesn't restart unresponsive container
111   enabled: true
112 readiness:
113   initialDelaySeconds: 10
114   periodSeconds: 10
115 service:
116   type: NodePort
117   name: oof-osdf
118   externalPort: 8698
119   internalPort: 8699
120   nodePort: 48
121 ingress:
122   enabled: false
123   service:
124     - baseaddr: "oofosdf"
125       name: "oof-osdf"
126       port: 8698
127   config:
128     ssl: "redirect"