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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 24 | centralizedLoggingEnabled: true |
| 25 | #AAF service |
| 26 | aafEnabled: true |
| 27 | |
| 28 | ################################################################# |
| 29 | # AAF part |
| 30 | ################################################################# |
| 31 | certInitializer: |
| 32 | permission_user: 1000 |
| 33 | permission_group: 999 |
| 34 | addconfig: true |
| 35 | keystoreFile: "org.onap.clamp.p12" |
| 36 | truststoreFile: "org.onap.clamp.trust.jks" |
| 37 | keyFile: "org.onap.clamp.keyfile" |
| 38 | truststoreFileONAP: "truststoreONAPall.jks" |
| 39 | clamp_key: "clamp.key" |
| 40 | clamp_pem: "clamp.pem" |
| 41 | clamp_ca_certs_pem: "clamp-ca-certs.pem" |
| 42 | nameOverride: clamp-cert-initializer |
| 43 | aafDeployFqi: deployer@people.osaaf.org |
| 44 | aafDeployPass: demo123456! |
| 45 | # aafDeployCredsExternalSecret: some secret |
| 46 | fqdn: clamp |
| 47 | fqi: clamp@clamp.onap.org |
| 48 | public_fqdn: clamp.onap.org |
| 49 | cadi_longitude: "0.0" |
| 50 | cadi_latitude: "0.0" |
| 51 | app_ns: org.osaaf.aaf |
| 52 | credsPath: /opt/app/osaaf/local |
| 53 | aaf_add_config: > |
| 54 | /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop; |
| 55 | export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0); |
| 56 | cd {{ .Values.credsPath }}; |
| 57 | openssl pkcs12 -in {{ .Values.keystoreFile }} -nocerts -nodes -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_key }}; |
| 58 | openssl pkcs12 -in {{ .Values.keystoreFile }} -clcerts -nokeys -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_pem }}; |
| 59 | openssl pkcs12 -in {{ .Values.keystoreFile }} -cacerts -nokeys -chain -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_ca_certs_pem }}; |
| 60 | chmod a+rx *; |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 61 | |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 62 | secrets: |
| 63 | - uid: db-root-pass |
| 64 | name: &dbRootPass '{{ include "common.release" . }}-clamp-db-root-pass' |
| 65 | type: password |
| 66 | password: '{{ .Values.db.rootPass }}' |
| 67 | - uid: db-secret |
| 68 | name: &dbUserPass '{{ include "common.release" . }}-clamp-db-user-pass' |
| 69 | type: basicAuth |
| 70 | login: '{{ .Values.db.user }}' |
| 71 | password: '{{ .Values.db.password }}' |
| 72 | |
| 73 | db: |
| 74 | user: clds |
| 75 | # password: sidnnd83K |
| 76 | databaseName: &dbName cldsdb4 |
| 77 | # rootPass: emrys user: testos |
| 78 | |
| 79 | clamp-backend: |
| 80 | db: |
| 81 | userCredsExternalSecret: *dbUserPass |
| 82 | databaseName: *dbName |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 83 | clamp-mariadb: |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 84 | db: |
| 85 | rootCredsExternalSecret: *dbRootPass |
| 86 | userCredsExternalSecret: *dbUserPass |
| 87 | databaseName: *dbName |
| 88 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 89 | subChartsOnly: |
| 90 | enabled: true |
| 91 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 92 | flavor: small |
| 93 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 94 | # application image |
| 95 | repository: nexus3.onap.org:10001 |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 96 | image: onap/clamp-frontend:5.1.0 |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 97 | pullPolicy: Always |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 98 | |
| 99 | # flag to enable debugging - application support required |
| 100 | debugEnabled: false |
| 101 | |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 102 | # log configuration |
| 103 | log: |
| 104 | path: /var/log/nginx/ |
| 105 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 106 | ################################################################# |
| 107 | # Application configuration defaults. |
| 108 | ################################################################# |
| 109 | config: |
ac2550 | de00989 | 2018-05-24 15:47:05 +0200 | [diff] [blame] | 110 | log: |
| 111 | logstashServiceName: log-ls |
| 112 | logstashPort: 5044 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 113 | dataRootDir: /dockerdata-nfs |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 114 | |
| 115 | # default number of instances |
| 116 | replicaCount: 1 |
| 117 | |
| 118 | nodeSelector: {} |
| 119 | |
| 120 | affinity: {} |
| 121 | |
| 122 | # probe configuration parameters |
| 123 | liveness: |
ac2550 | cfa75fe | 2018-08-07 15:36:10 +0200 | [diff] [blame] | 124 | initialDelaySeconds: 120 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 125 | periodSeconds: 10 |
| 126 | # necessary to disable liveness probe when setting breakpoints |
| 127 | # in debugger so K8s doesn't restart unresponsive container |
| 128 | enabled: true |
| 129 | |
| 130 | readiness: |
| 131 | initialDelaySeconds: 10 |
| 132 | periodSeconds: 10 |
| 133 | |
| 134 | |
| 135 | service: |
| 136 | type: NodePort |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 137 | name: clamp-external |
| 138 | portName: clamp-external |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 139 | internalPort: 2443 |
Determe, Sebastien (sd378r) | 346ac69 | 2019-04-29 14:52:41 +0200 | [diff] [blame] | 140 | nodePort: 58 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 141 | |
Michael O'Brien | cd4d4eb | 2018-09-04 20:56:34 -0400 | [diff] [blame] | 142 | # as of 20180904 port 58 is reserved for clamp from log/logdemonode |
| 143 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 144 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 145 | type2: ClusterIP |
| 146 | name2: clamp |
| 147 | portName2: clamp-internal |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 148 | internalPort2: 2443 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 149 | externalPort2: 8443 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 150 | |
| 151 | ingress: |
| 152 | enabled: false |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 153 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 154 | - baseaddr: "clamp.api" |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 155 | name: "clamp" |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 156 | port: 2443 |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 157 | config: |
| 158 | ssl: "redirect" |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 159 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 160 | #resources: {} |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 161 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 162 | # choice for the user. This also increases chances charts run on environments with little |
| 163 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 164 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 165 | # |
| 166 | # Example: |
| 167 | # Configure resource requests and limits |
| 168 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 169 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 170 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 171 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 172 | small: |
| 173 | limits: |
| 174 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 175 | memory: 200Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 176 | requests: |
| 177 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 178 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 179 | large: |
| 180 | limits: |
| 181 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 182 | memory: 500Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 183 | requests: |
| 184 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 185 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 186 | unlimited: {} |