Merge "[AAF] Use global storage templates for PVC"
[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:1.3.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   # Credentials of the callback url for SO.
50   soUsername: ""   # SO username for call back.
51   soPassword: ""   # SO password for call back.
52   # Url and credentials for Conductor.
53   conductorUrl: https://oof-has-api:8091/v1/plans/
54   conductorUsername: admin1
55   conductorPassword: plan.15
56   conductorPingWaitTime: 60
57   conductorMaxRetries: 30
58   # versions to be set in HTTP header
59   conductorMinorVersion: 0
60   # Url and credentials for the Policy Platform
61   policyPlatformUrl: https://pdp:8081/pdp/api/getConfig # Policy Dev platform URL
62   policyPlatformEnv: TEST # Environment for policy platform
63   policyPlatformUsername: testpdp # Policy platform username.
64   policyPlatformPassword: alpha123 # Policy platform password.
65   policyClientUsername: python # For use with ClientAuth
66   policyClientPassword: test # For use with ClientAuth
67   # Credentials for the message reader - A placeholder.
68   messageReaderHosts: NA
69   messageReaderTopic: NA
70   messageReaderAafUserId: NA
71   messageReaderAafPassword: NA
72   # Credentials for the SDC interface - A placeholder.
73   sdcUrl: NA
74   sdcUsername: NA
75   sdcPassword: NA
76   sdcONAPInstanceID: NA
77   # Credentials for the placement service – Generic.
78   osdfPlacementUsername: "test"
79   osdfPlacementPassword: "testpwd"
80   # Credentials for the OOF placement service – SO.
81   osdfPlacementSOUsername: so_test
82   osdfPlacementSOPassword: so_testpwd
83   # Credentials for the OOF placement service - VFC
84   osdfPlacementVFCUsername: vfc_test
85   osdfPlacementVFCPassword: vfc_testpwd
86   # Credentials for the OOF CM scheduling service – Generic.
87   osdfCMSchedulerUsername: test1
88   osdfCMSchedulerPassword: testpwd1
89   #AAF Authentication
90   is_aaf_enabled: False
91   aaf_cache_expiry_mins: 5
92   aaf_url: https://aaf-service:8100
93   aaf_user_roles:
94       - '/placement:org.onap.oof.access|*|read ALL'
95       - '/pci:org.onap.oof.access|*|read ALL'
96   # Secret Management Service from AAF
97   aaf_sms_url: https://aaf-sms
98   aaf_sms_port: 10443
99   aaf_sms_timeout: 30
100   secret_domain: osdf
101   aaf_ca_certs: /opt/app/ssl_cert/aaf_root_ca.cer
102   # config db api
103   configDbUrl: http://config.db.url:8080
104   configDbUserName: osdf
105   configDbPassword: passwd
106   configDbGetCellListUrl: 'SDNCConfigDBAPI/getCellList'
107   configDbGetNbrListUrl: 'SDNCConfigDBAPI/getNbrList'
108   # Credentials for PCIHandler
109   pciHMSUsername: ""   # pcihandler username for call back.
110   pciHMSPassword: ""   # pcihandler password for call back.
111   # Credentials for the OOF PCI Opt service
112   osdfPCIOptUsername: pci_test
113   osdfPCIOptPassword: pci_testpwd
114 # default number of instances
115 replicaCount: 1
116 nodeSelector: {}
117 affinity: {}
118 # Resource Limit flavor -By Default using small
119 flavor: small
120 # Segregation for Different environment (Small and Large)
121 resources:
122   small:
123     limits:
124       memory: 2Gi
125       cpu: 1000m
126     requests:
127       memory: 1Gi
128       cpu: 500m
129   large:
130     limits:
131       memory: 4Gi
132       cpu: 2000m
133     requests:
134       memory: 2Gi
135       cpu: 1000m
136   unlimited: {}
137 # probe configuration parameters
138 liveness:
139   initialDelaySeconds: 10
140   periodSeconds: 10
141   # necessary to disable liveness probe when setting breakpoints
142   # in debugger so K8s doesn't restart unresponsive container
143   enabled: true
144 readiness:
145   initialDelaySeconds: 10
146   periodSeconds: 10
147 service:
148   type: NodePort
149   name: oof-osdf
150   externalPort: 8698
151   internalPort: 8699
152   nodePort: 48
153 ingress:
154   enabled: false
155   service:
156     - baseaddr: "oofosdf"
157       name: "oof-osdf"
158       port: 8698
159   config:
160     ssl: "none"