vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | subChartsOnly: |
| 26 | enabled: true |
| 27 | |
| 28 | # application image |
| 29 | repository: nexus3.onap.org:10001 |
Gary Wu | dd56858 | 2018-05-08 07:21:20 -0700 | [diff] [blame] | 30 | image: onap/clamp:2.0-STAGING-latest |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 31 | pullPolicy: Always |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 32 | |
| 33 | # flag to enable debugging - application support required |
| 34 | debugEnabled: false |
| 35 | |
| 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
| 39 | config: |
| 40 | mysqlPassword: strong_pitchou |
| 41 | dataRootDir: /dockerdata-nfs |
ac2550 | a2619ed | 2018-04-04 13:01:04 +0200 | [diff] [blame] | 42 | springApplicationJson: > |
| 43 | { |
ac2550 | 7895b2c | 2018-05-16 14:31:23 +0200 | [diff] [blame] | 44 | "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3", |
| 45 | "clamp.config.sdc.catalog.url": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/", |
| 46 | "clamp.config.sdc.hostUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/", |
| 47 | "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] | 48 | "clamp.config.sdc.serviceUsername": "clamp", |
| 49 | "clamp.config.sdc.servicePassword": "b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981", |
ac2550 | 7895b2c | 2018-05-16 14:31:23 +0200 | [diff] [blame] | 50 | "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json", |
| 51 | "clamp.config.dcae.inventory.url": "http://dcaegen2.{{ include "common.namespace" . }}:8080", |
| 52 | "clamp.config.dcae.dispatcher.url": "http://dcaegen2.{{ include "common.namespace" . }}:8080", |
| 53 | "clamp.config.policy.pdpUrl1": "https://pdp.{{ include "common.namespace" . }}:9091/pdp/ , testpdp, alpha123", |
| 54 | "clamp.config.policy.pdpUrl2": "https://pdp.{{ include "common.namespace" . }}:9091/pdp/ , testpdp, alpha123", |
| 55 | "clamp.config.policy.papUrl": "https://pap.{{ include "common.namespace" . }}:8443/pap/ , testpap, alpha123", |
ac2550 | a2619ed | 2018-04-04 13:01:04 +0200 | [diff] [blame] | 56 | "clamp.config.policy.clientKey": "5CE79532B3A2CB4D132FC0C04BF916A7" |
| 57 | } |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 58 | |
| 59 | # subchart configuration |
| 60 | mariadb: |
| 61 | nameOverride: clampdb |
| 62 | |
| 63 | |
| 64 | # default number of instances |
| 65 | replicaCount: 1 |
| 66 | |
| 67 | nodeSelector: {} |
| 68 | |
| 69 | affinity: {} |
| 70 | |
| 71 | # probe configuration parameters |
| 72 | liveness: |
ac2550 | 518760a | 2018-04-26 10:15:28 +0200 | [diff] [blame] | 73 | initialDelaySeconds: 30 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 74 | periodSeconds: 10 |
| 75 | # necessary to disable liveness probe when setting breakpoints |
| 76 | # in debugger so K8s doesn't restart unresponsive container |
| 77 | enabled: true |
| 78 | |
| 79 | readiness: |
| 80 | initialDelaySeconds: 10 |
| 81 | periodSeconds: 10 |
| 82 | |
| 83 | |
| 84 | service: |
| 85 | type: NodePort |
| 86 | name: clamp |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 87 | portName: clamp |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 88 | internalPort: 8080 |
| 89 | nodePort: 95 |
| 90 | |
| 91 | ingress: |
| 92 | enabled: false |
| 93 | |
| 94 | resources: {} |
| 95 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 96 | # choice for the user. This also increases chances charts run on environments with little |
| 97 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 98 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 99 | # |
| 100 | # Example: |
| 101 | # Configure resource requests and limits |
| 102 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 103 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 104 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 105 | #resources: |
| 106 | # limits: |
| 107 | # cpu: 2 |
| 108 | # memory: 4Gi |
| 109 | # requests: |
| 110 | # cpu: 2 |
| 111 | # memory: 4Gi |