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== |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 22 | readinessImage: onap/oom/readiness:3.0.1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 23 | persistence: {} |
| 24 | |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 25 | secrets: |
| 26 | - uid: db-secret |
| 27 | type: basicAuth |
| 28 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
| 29 | login: '{{ .Values.db.user }}' |
| 30 | password: '{{ .Values.db.password }}' |
| 31 | passwordPolicy: required |
| 32 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 33 | flavor: small |
| 34 | |
| 35 | # application image |
| 36 | repository: nexus3.onap.org:10001 |
sebdet | 5fdeb5d | 2020-05-29 11:06:07 +0200 | [diff] [blame] | 37 | image: onap/clamp-backend:5.0.7 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 38 | pullPolicy: Always |
| 39 | |
| 40 | # flag to enable debugging - application support required |
| 41 | debugEnabled: false |
| 42 | |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 43 | # log configuration |
| 44 | log: |
| 45 | path: /var/log/onap |
| 46 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 47 | ################################################################# |
| 48 | # Application configuration defaults. |
| 49 | ################################################################# |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 50 | |
| 51 | db: {} |
| 52 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 53 | config: |
| 54 | log: |
| 55 | logstashServiceName: log-ls |
| 56 | logstashPort: 5044 |
| 57 | mysqlPassword: strong_pitchou |
| 58 | dataRootDir: /dockerdata-nfs |
| 59 | springApplicationJson: > |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 60 | { |
| 61 | "spring.datasource.username": "${MYSQL_USER}", |
| 62 | "spring.datasource.password": "${MYSQL_PASSWORD}", |
| 63 | "spring.datasource.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/${MYSQL_DATABASE}?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3", |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 64 | "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] | 65 | "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json", |
sebdet | 9a4661e | 2019-10-11 18:23:57 +0200 | [diff] [blame] | 66 | "clamp.config.dcae.inventory.url": "https4://inventory.{{ include "common.namespace" . }}:8080", |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 67 | "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443", |
| 68 | "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443", |
| 69 | "clamp.config.dcae.deployment.userName": "none", |
| 70 | "clamp.config.dcae.deployment.password": "none", |
| 71 | "clamp.config.policy.api.url": "https4://policy-api.{{ include "common.namespace" . }}:6969", |
| 72 | "clamp.config.policy.api.userName": "healthcheck", |
| 73 | "clamp.config.policy.api.password": "zb!XztG34", |
| 74 | "clamp.config.policy.pap.url": "https4://policy-pap.{{ include "common.namespace" . }}:6969", |
| 75 | "clamp.config.policy.pap.userName": "healthcheck", |
| 76 | "clamp.config.policy.pap.password": "zb!XztG34", |
sebdet | e4b99c5 | 2020-04-01 12:18:20 +0200 | [diff] [blame] | 77 | "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095" |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 78 | } |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 79 | |
| 80 | # default number of instances |
| 81 | replicaCount: 1 |
| 82 | |
| 83 | nodeSelector: {} |
| 84 | |
| 85 | affinity: {} |
| 86 | |
| 87 | # probe configuration parameters |
| 88 | liveness: |
| 89 | initialDelaySeconds: 120 |
| 90 | periodSeconds: 10 |
| 91 | # necessary to disable liveness probe when setting breakpoints |
| 92 | # in debugger so K8s doesn't restart unresponsive container |
| 93 | enabled: true |
| 94 | |
| 95 | readiness: |
| 96 | initialDelaySeconds: 10 |
| 97 | periodSeconds: 10 |
| 98 | |
| 99 | |
| 100 | service: |
| 101 | type: ClusterIP |
| 102 | name: clamp-backend |
| 103 | portName: clamp-backend |
| 104 | internalPort: 8443 |
| 105 | externalPort: 443 |
| 106 | |
| 107 | ingress: |
| 108 | enabled: false |
| 109 | |
| 110 | #resources: {} |
| 111 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 112 | # choice for the user. This also increases chances charts run on environments with little |
| 113 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 114 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 115 | # |
| 116 | # Example: |
| 117 | # Configure resource requests and limits |
| 118 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 119 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 120 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 121 | resources: |
| 122 | small: |
| 123 | limits: |
| 124 | cpu: 1 |
| 125 | memory: 1.2Gi |
| 126 | requests: |
| 127 | cpu: 10m |
| 128 | memory: 800Mi |
| 129 | large: |
| 130 | limits: |
| 131 | cpu: 1 |
| 132 | memory: 1.2Gi |
| 133 | requests: |
| 134 | cpu: 10m |
| 135 | memory: 800Mi |
| 136 | unlimited: {} |