vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 2 | # Modifications Copyright © 2018-2019 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 25 | centralizedLoggingEnabled: false |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 26 | |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 27 | secrets: |
| 28 | - uid: db-root-pass |
| 29 | name: &dbRootPass '{{ include "common.release" . }}-clamp-db-root-pass' |
| 30 | type: password |
| 31 | password: '{{ .Values.db.rootPass }}' |
| 32 | - uid: db-secret |
| 33 | name: &dbUserPass '{{ include "common.release" . }}-clamp-db-user-pass' |
| 34 | type: basicAuth |
| 35 | login: '{{ .Values.db.user }}' |
| 36 | password: '{{ .Values.db.password }}' |
| 37 | |
| 38 | db: |
| 39 | user: clds |
| 40 | # password: sidnnd83K |
| 41 | databaseName: &dbName cldsdb4 |
| 42 | # rootPass: emrys user: testos |
| 43 | |
| 44 | clamp-backend: |
| 45 | db: |
| 46 | userCredsExternalSecret: *dbUserPass |
| 47 | databaseName: *dbName |
| 48 | mariadb: |
| 49 | db: |
| 50 | rootCredsExternalSecret: *dbRootPass |
| 51 | userCredsExternalSecret: *dbUserPass |
| 52 | databaseName: *dbName |
| 53 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 54 | subChartsOnly: |
| 55 | enabled: true |
| 56 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 57 | flavor: small |
| 58 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 59 | # application image |
| 60 | repository: nexus3.onap.org:10001 |
sebdet | 5fdeb5d | 2020-05-29 11:06:07 +0200 | [diff] [blame] | 61 | image: onap/clamp-frontend:5.0.7 |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 62 | pullPolicy: Always |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 63 | |
| 64 | # flag to enable debugging - application support required |
| 65 | debugEnabled: false |
| 66 | |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 67 | # log configuration |
| 68 | log: |
| 69 | path: /var/log/nginx/ |
| 70 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 71 | ################################################################# |
| 72 | # Application configuration defaults. |
| 73 | ################################################################# |
| 74 | config: |
ac2550 | de00989 | 2018-05-24 15:47:05 +0200 | [diff] [blame] | 75 | log: |
| 76 | logstashServiceName: log-ls |
| 77 | logstashPort: 5044 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 78 | dataRootDir: /dockerdata-nfs |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 79 | |
| 80 | # default number of instances |
| 81 | replicaCount: 1 |
| 82 | |
| 83 | nodeSelector: {} |
| 84 | |
| 85 | affinity: {} |
| 86 | |
| 87 | # probe configuration parameters |
| 88 | liveness: |
ac2550 | cfa75fe | 2018-08-07 15:36:10 +0200 | [diff] [blame] | 89 | initialDelaySeconds: 120 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 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: NodePort |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 102 | name: clamp-external |
| 103 | portName: clamp-external |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 104 | internalPort: 2443 |
Determe, Sebastien (sd378r) | 346ac69 | 2019-04-29 14:52:41 +0200 | [diff] [blame] | 105 | nodePort: 58 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 106 | |
Michael O'Brien | cd4d4eb | 2018-09-04 20:56:34 -0400 | [diff] [blame] | 107 | # as of 20180904 port 58 is reserved for clamp from log/logdemonode |
| 108 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 109 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 110 | type2: ClusterIP |
| 111 | name2: clamp |
| 112 | portName2: clamp-internal |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 113 | internalPort2: 2443 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 114 | externalPort2: 8443 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 115 | |
| 116 | ingress: |
| 117 | enabled: false |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 118 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 119 | - baseaddr: "clamp.api" |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 120 | name: "clamp" |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 121 | port: 2443 |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 122 | config: |
| 123 | ssl: "redirect" |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 124 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 125 | #resources: {} |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 126 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 127 | # choice for the user. This also increases chances charts run on environments with little |
| 128 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 129 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 130 | # |
| 131 | # Example: |
| 132 | # Configure resource requests and limits |
| 133 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 134 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 135 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 136 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 137 | small: |
| 138 | limits: |
| 139 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 140 | memory: 200Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 141 | requests: |
| 142 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 143 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 144 | large: |
| 145 | limits: |
| 146 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 147 | memory: 500Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 148 | requests: |
| 149 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 150 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 151 | unlimited: {} |