sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018-2019 AT&T |
| 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 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
| 21 | repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ== |
| 22 | readinessRepository: oomk8s |
| 23 | readinessImage: readiness-check:2.0.0 |
| 24 | persistence: {} |
| 25 | |
| 26 | flavor: small |
| 27 | |
| 28 | # application image |
| 29 | repository: nexus3.onap.org:10001 |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 30 | image: onap/clamp-backend:5.0.1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 31 | pullPolicy: Always |
| 32 | |
| 33 | # flag to enable debugging - application support required |
| 34 | debugEnabled: false |
| 35 | |
| 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
| 39 | config: |
| 40 | log: |
| 41 | logstashServiceName: log-ls |
| 42 | logstashPort: 5044 |
| 43 | mysqlPassword: strong_pitchou |
| 44 | dataRootDir: /dockerdata-nfs |
| 45 | springApplicationJson: > |
| 46 | { |
| 47 | "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3", |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 48 | "spring.profiles.active": "clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,legacy-operational-policy,default-dictionary-elements", |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 49 | "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json", |
sebdet | 9a4661e | 2019-10-11 18:23:57 +0200 | [diff] [blame] | 50 | "clamp.config.dcae.inventory.url": "https4://inventory.{{ include "common.namespace" . }}:8080", |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 51 | "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443", |
| 52 | "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443", |
| 53 | "clamp.config.dcae.deployment.userName": "none", |
| 54 | "clamp.config.dcae.deployment.password": "none", |
| 55 | "clamp.config.policy.api.url": "https4://policy-api.{{ include "common.namespace" . }}:6969", |
| 56 | "clamp.config.policy.api.userName": "healthcheck", |
| 57 | "clamp.config.policy.api.password": "zb!XztG34", |
| 58 | "clamp.config.policy.pap.url": "https4://policy-pap.{{ include "common.namespace" . }}:6969", |
| 59 | "clamp.config.policy.pap.userName": "healthcheck", |
| 60 | "clamp.config.policy.pap.password": "zb!XztG34", |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 61 | "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095", |
| 62 | "com.att.eelf.logging.path": "/opt/clamp", |
| 63 | "com.att.eelf.logging.file": "logback.xml" |
| 64 | } |
| 65 | |
| 66 | # default number of instances |
| 67 | replicaCount: 1 |
| 68 | |
| 69 | nodeSelector: {} |
| 70 | |
| 71 | affinity: {} |
| 72 | |
| 73 | # probe configuration parameters |
| 74 | liveness: |
| 75 | initialDelaySeconds: 120 |
| 76 | periodSeconds: 10 |
| 77 | # necessary to disable liveness probe when setting breakpoints |
| 78 | # in debugger so K8s doesn't restart unresponsive container |
| 79 | enabled: true |
| 80 | |
| 81 | readiness: |
| 82 | initialDelaySeconds: 10 |
| 83 | periodSeconds: 10 |
| 84 | |
| 85 | |
| 86 | service: |
| 87 | type: ClusterIP |
| 88 | name: clamp-backend |
| 89 | portName: clamp-backend |
| 90 | internalPort: 8443 |
| 91 | externalPort: 443 |
| 92 | |
| 93 | ingress: |
| 94 | enabled: false |
| 95 | |
| 96 | #resources: {} |
| 97 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 98 | # choice for the user. This also increases chances charts run on environments with little |
| 99 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 100 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 101 | # |
| 102 | # Example: |
| 103 | # Configure resource requests and limits |
| 104 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 105 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 106 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 107 | resources: |
| 108 | small: |
| 109 | limits: |
| 110 | cpu: 1 |
| 111 | memory: 1.2Gi |
| 112 | requests: |
| 113 | cpu: 10m |
| 114 | memory: 800Mi |
| 115 | large: |
| 116 | limits: |
| 117 | cpu: 1 |
| 118 | memory: 1.2Gi |
| 119 | requests: |
| 120 | cpu: 10m |
| 121 | memory: 800Mi |
| 122 | unlimited: {} |