Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
Vijay Venkatesh Kumar | 2091000 | 2021-09-07 12:19:48 -0400 | [diff] [blame] | 3 | # Copyright (c) 2019-2021 AT&T Intellectual Property. All rights reserved. |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | ################################################################# |
| 19 | # Global configuration defaults. |
| 20 | ################################################################# |
| 21 | global: |
| 22 | nodePortPrefix: 302 |
| 23 | nodePortPrefixExt: 304 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 24 | |
| 25 | config: |
| 26 | dashboardURL: https://inventory:8080/dcae-service-types |
| 27 | # The dashboard credentials aren't actually used, since |
| 28 | # the inventory API and the dashboard pass-through to the |
| 29 | # inventory API don't require authentication. |
| 30 | # Since the password doesn't matter, we let it be |
| 31 | # generated by the common secret template. |
| 32 | dashboardUser: nobody |
| 33 | #dashboardPassword: doesntmatter |
| 34 | mrTopicURL: http://message-router:3904/events |
Jack Lucas | 00efe37 | 2020-03-11 13:48:20 -0400 | [diff] [blame] | 35 | importCloudify: https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml |
Joanna Jeremicz | a738031 | 2021-02-26 10:57:27 +0100 | [diff] [blame] | 36 | importK8S: plugin:k8splugin?version=>=3.5.1,<4.0.0 |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 37 | importPostgres: plugin:pgaas?version=1.3.0 |
Vijay Venkatesh Kumar | a54781b | 2021-09-01 17:04:37 -0400 | [diff] [blame] | 38 | importClamp: plugin:clamppolicyplugin?version=1.1.1 |
efiacor | bcba3c7 | 2021-04-21 13:36:21 +0100 | [diff] [blame] | 39 | importDMaaP: plugin:dmaap?version=>=1.5.1,<2.0.0 |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 40 | useDmaapPlugin: false |
Joanna Jeremicz | a738031 | 2021-02-26 10:57:27 +0100 | [diff] [blame] | 41 | bpResourcesCpuLimit: 250m |
| 42 | bpResourcesMemoryLimit: 128Mi |
Vijay Venkatesh Kumar | 2091000 | 2021-09-07 12:19:48 -0400 | [diff] [blame] | 43 | artifactType: "HELM" |
| 44 | registryBaseurl: http://chart-museum:80 |
| 45 | basehelmchartlocation: /helm-gen/ |
| 46 | |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 47 | |
| 48 | secrets: |
| 49 | - uid: "dashsecret" |
| 50 | type: basicAuth |
| 51 | login: '{{ .Values.config.dashboardUser }}' |
| 52 | password: '{{ .Values.config.dashboardPassword }}' |
| 53 | passwordPolicy: generate |
Vijay Venkatesh Kumar | 2091000 | 2021-09-07 12:19:48 -0400 | [diff] [blame] | 54 | - uid: registrycred |
| 55 | type: basicAuth |
| 56 | login: '{{ .Values.registryCred.username }}' |
| 57 | password: '{{ .Values.registryCred.password }}' |
| 58 | passwordPolicy: required |
| 59 | |
| 60 | # Below parameter should match setting in all clients |
| 61 | # including oom\kubernetes\platform\components\chartmuseum |
| 62 | # where ONAP registry is setup |
| 63 | registryCred: |
| 64 | username: onapinitializer |
| 65 | password: demo123456! |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 66 | |
| 67 | service: |
| 68 | type: ClusterIP |
| 69 | name: dcaemod-runtime-api |
| 70 | ports: |
| 71 | - name: http |
| 72 | port: 9090 |
| 73 | |
| 74 | # probe configuration parameters |
| 75 | liveness: |
| 76 | initialDelaySeconds: 60 |
| 77 | periodSeconds: 30 |
| 78 | port: http |
| 79 | # necessary to disable liveness probe when setting breakpoints |
| 80 | # in debugger so K8s doesn't restart unresponsive container |
| 81 | enabled: true |
| 82 | |
| 83 | readiness: |
| 84 | initialDelaySeconds: 60 |
| 85 | periodSeconds: 20 |
| 86 | port: http |
| 87 | # Should have a proper readiness endpoint or script |
| 88 | |
Vijay Venkatesh Kumar | 2091000 | 2021-09-07 12:19:48 -0400 | [diff] [blame] | 89 | # dependencies |
| 90 | #readinessCheck: |
| 91 | # wait_for: |
| 92 | # - chart-museum |
| 93 | |
| 94 | |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 95 | # application image |
Vijay Venkatesh Kumar | ab2f466 | 2022-02-24 10:44:44 -0500 | [diff] [blame^] | 96 | image: onap/org.onap.dcaegen2.platform.mod.runtime-web:1.3.2 |
Jack Lucas | 7723ffe | 2020-02-13 17:19:01 -0500 | [diff] [blame] | 97 | |
| 98 | # Resource Limit flavor -By Default using small |
| 99 | flavor: small |
| 100 | # Segregation for Different environment (Small and Large) |
| 101 | resources: |
| 102 | small: |
| 103 | limits: |
| 104 | cpu: 2 |
| 105 | memory: 2Gi |
| 106 | requests: |
| 107 | cpu: 1 |
| 108 | memory: 1Gi |
| 109 | large: |
| 110 | limits: |
| 111 | cpu: 4 |
| 112 | memory: 4Gi |
| 113 | requests: |
| 114 | cpu: 2 |
| 115 | memory: 2Gi |
| 116 | unlimited: {} |
vv770d | 601e2b0 | 2020-08-17 22:40:00 +0000 | [diff] [blame] | 117 | |
farida azmy | 5093301 | 2021-09-12 12:56:40 +0200 | [diff] [blame] | 118 | #Pods Service Account |
| 119 | serviceAccount: |
| 120 | nameOverride: dcaemod-runtime-api |
| 121 | roles: |
| 122 | - read |