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