vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Mukul | 379e252 | 2018-09-05 12:26:02 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | subChartsOnly: |
| 27 | enabled: true |
| 28 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 29 | flavor: small |
| 30 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 31 | # application image |
| 32 | repository: nexus3.onap.org:10001 |
Yang Xu | 906595f | 2019-04-25 11:29:08 -0400 | [diff] [blame] | 33 | image: onap/clamp:4.0-STAGING-latest |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 34 | pullPolicy: Always |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 35 | |
| 36 | # flag to enable debugging - application support required |
| 37 | debugEnabled: false |
| 38 | |
| 39 | ################################################################# |
| 40 | # Application configuration defaults. |
| 41 | ################################################################# |
| 42 | config: |
ac2550 | de00989 | 2018-05-24 15:47:05 +0200 | [diff] [blame] | 43 | log: |
| 44 | logstashServiceName: log-ls |
| 45 | logstashPort: 5044 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 46 | mysqlPassword: strong_pitchou |
| 47 | dataRootDir: /dockerdata-nfs |
ac2550 | a2619ed | 2018-04-04 13:01:04 +0200 | [diff] [blame] | 48 | springApplicationJson: > |
| 49 | { |
ac2550 | 7895b2c | 2018-05-16 14:31:23 +0200 | [diff] [blame] | 50 | "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3", |
| 51 | "clamp.config.sdc.catalog.url": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/", |
| 52 | "clamp.config.sdc.hostUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/", |
| 53 | "clamp.config.sdc.serviceUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/services", |
ac2550 | a2619ed | 2018-04-04 13:01:04 +0200 | [diff] [blame] | 54 | "clamp.config.sdc.serviceUsername": "clamp", |
| 55 | "clamp.config.sdc.servicePassword": "b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981", |
ac2550 | 7895b2c | 2018-05-16 14:31:23 +0200 | [diff] [blame] | 56 | "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json", |
ac2550 | 3f4be64 | 2018-05-18 13:13:17 +0200 | [diff] [blame] | 57 | "clamp.config.dcae.inventory.url": "http://inventory.{{ include "common.namespace" . }}:8080", |
Determe, Sebastien (sd378r) | 2b3c426 | 2019-04-29 15:05:35 +0200 | [diff] [blame] | 58 | "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443", |
| 59 | "clamp.config.dcae.dispatcher.userName":"test", |
| 60 | "clamp.config.dcae.dispatcher.password":"test", |
Determe, Sebastien (sd378r) | f565337 | 2019-04-26 16:41:38 +0200 | [diff] [blame] | 61 | "clamp.config.policy.api.url": "http4://policy-api.{{ include "common.namespace" . }}:6969", |
| 62 | "clamp.config.policy.api.userName": "healthcheck", |
| 63 | "clamp.config.policy.api.password": "zb!XztG34", |
| 64 | "clamp.config.policy.pap.url": "http4://policy-pap.{{ include "common.namespace" . }}:6969", |
| 65 | "clamp.config.policy.pap.userName": "healthcheck", |
| 66 | "clamp.config.policy.pap.password": "zb!XztG34", |
Determe, Sebastien (sd378r) | 9e6a56e | 2018-10-17 16:23:46 +0200 | [diff] [blame] | 67 | "clamp.config.policy.pdpUrl1": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123", |
| 68 | "clamp.config.policy.pdpUrl2": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123", |
| 69 | "clamp.config.policy.papUrl": "https://pap.{{ include "common.namespace" . }}:9091/pap/ , testpap, alpha123", |
Determe, Sebastien (sd378r) | b84a92d | 2018-08-28 13:28:12 +0200 | [diff] [blame] | 70 | "clamp.config.policy.clientKey": "dGVzdA==", |
Determe, Sebastien (sd378r) | 9e6a56e | 2018-10-17 16:23:46 +0200 | [diff] [blame] | 71 | "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095", |
Determe, Sebastien (sd378r) | b84a92d | 2018-08-28 13:28:12 +0200 | [diff] [blame] | 72 | "com.att.eelf.logging.path": "/opt/clamp", |
| 73 | "com.att.eelf.logging.file": "logback.xml" |
ac2550 | a2619ed | 2018-04-04 13:01:04 +0200 | [diff] [blame] | 74 | } |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 75 | |
| 76 | # subchart configuration |
| 77 | mariadb: |
| 78 | nameOverride: clampdb |
| 79 | |
| 80 | |
| 81 | # default number of instances |
| 82 | replicaCount: 1 |
| 83 | |
| 84 | nodeSelector: {} |
| 85 | |
| 86 | affinity: {} |
| 87 | |
| 88 | # probe configuration parameters |
| 89 | liveness: |
ac2550 | cfa75fe | 2018-08-07 15:36:10 +0200 | [diff] [blame] | 90 | initialDelaySeconds: 120 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 91 | periodSeconds: 10 |
| 92 | # necessary to disable liveness probe when setting breakpoints |
| 93 | # in debugger so K8s doesn't restart unresponsive container |
| 94 | enabled: true |
| 95 | |
| 96 | readiness: |
| 97 | initialDelaySeconds: 10 |
| 98 | periodSeconds: 10 |
| 99 | |
| 100 | |
| 101 | service: |
| 102 | type: NodePort |
| 103 | name: clamp |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 104 | portName: clamp |
Determe, Sebastien (sd378r) | 346ac69 | 2019-04-29 14:52:41 +0200 | [diff] [blame] | 105 | internalPort: 8443 |
| 106 | externalPort: 8443 |
| 107 | nodePort: 58 |
Michael O'Brien | cd4d4eb | 2018-09-04 20:56:34 -0400 | [diff] [blame] | 108 | # as of 20180904 port 58 is reserved for clamp from log/logdemonode |
| 109 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 110 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 111 | |
| 112 | ingress: |
| 113 | enabled: false |
| 114 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 115 | #resources: {} |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 116 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 117 | # choice for the user. This also increases chances charts run on environments with little |
| 118 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 119 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 120 | # |
| 121 | # Example: |
| 122 | # Configure resource requests and limits |
| 123 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 124 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 125 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 126 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 127 | small: |
| 128 | limits: |
| 129 | cpu: 1 |
| 130 | memory: 1.2Gi |
| 131 | requests: |
| 132 | cpu: 10m |
| 133 | memory: 800Mi |
| 134 | large: |
| 135 | limits: |
| 136 | cpu: 1 |
| 137 | memory: 1.2Gi |
| 138 | requests: |
| 139 | cpu: 10m |
| 140 | memory: 800Mi |
| 141 | unlimited: {} |