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 | 3872acf | 2020-04-03 18:42:54 +0200 | [diff] [blame^] | 30 | image: onap/clamp-backend:5.0.3 |
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 | e4b99c5 | 2020-04-01 12:18:20 +0200 | [diff] [blame] | 61 | "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095" |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | # default number of instances |
| 65 | replicaCount: 1 |
| 66 | |
| 67 | nodeSelector: {} |
| 68 | |
| 69 | affinity: {} |
| 70 | |
| 71 | # probe configuration parameters |
| 72 | liveness: |
| 73 | initialDelaySeconds: 120 |
| 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: ClusterIP |
| 86 | name: clamp-backend |
| 87 | portName: clamp-backend |
| 88 | internalPort: 8443 |
| 89 | externalPort: 443 |
| 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 | small: |
| 107 | limits: |
| 108 | cpu: 1 |
| 109 | memory: 1.2Gi |
| 110 | requests: |
| 111 | cpu: 10m |
| 112 | memory: 800Mi |
| 113 | large: |
| 114 | limits: |
| 115 | cpu: 1 |
| 116 | memory: 1.2Gi |
| 117 | requests: |
| 118 | cpu: 10m |
| 119 | memory: 800Mi |
| 120 | unlimited: {} |