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: {} |
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 | keystoreFile: "org.onap.clamp.p12" |
| 35 | truststoreFile: "org.onap.clamp.trust.jks" |
| 36 | keyFile: "org.onap.clamp.keyfile" |
| 37 | truststoreFileONAP: "truststoreONAPall.jks" |
| 38 | nameOverride: clamp-backend-cert-initializer |
| 39 | aafDeployFqi: deployer@people.osaaf.org |
| 40 | aafDeployPass: demo123456! |
| 41 | fqdn: clamp |
| 42 | fqi: clamp@clamp.onap.org |
| 43 | public_fqdn: clamp.onap.org |
| 44 | cadi_longitude: "-72.0" |
| 45 | cadi_latitude: "38.0" |
| 46 | app_ns: org.osaaf.aaf |
| 47 | credsPath: /opt/app/osaaf/local |
| 48 | aaf_add_config: > |
| 49 | /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop; |
| 50 | grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_truststore_password=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_truststore_password.pwd; |
| 51 | grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_key_password=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_key_password.pwd; |
| 52 | grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_keystore_password=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_keystore_password.pwd; |
| 53 | grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_keystore_password_p12=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_keystore_password_p12.pwd; |
| 54 | cd {{ .Values.credsPath }}; |
| 55 | chmod a+rx *; |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 56 | |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 57 | secrets: |
| 58 | - uid: db-secret |
| 59 | type: basicAuth |
| 60 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
| 61 | login: '{{ .Values.db.user }}' |
| 62 | password: '{{ .Values.db.password }}' |
| 63 | passwordPolicy: required |
| 64 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 65 | flavor: small |
| 66 | |
| 67 | # application image |
| 68 | repository: nexus3.onap.org:10001 |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame^] | 69 | image: onap/clamp-backend:5.1.0 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 70 | pullPolicy: Always |
| 71 | |
| 72 | # flag to enable debugging - application support required |
| 73 | debugEnabled: false |
| 74 | |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 75 | # log configuration |
| 76 | log: |
| 77 | path: /var/log/onap |
| 78 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 79 | ################################################################# |
| 80 | # Application configuration defaults. |
| 81 | ################################################################# |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 82 | |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame^] | 83 | #####dummy values for db user and password to pass lint!!!####### |
| 84 | |
| 85 | db: |
| 86 | user: dummyclds |
| 87 | password: dummysidnnd83K |
| 88 | databaseName: dummycldsdb4 |
JulienBe | 26df320 | 2020-04-10 16:50:08 +0200 | [diff] [blame] | 89 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 90 | config: |
| 91 | log: |
| 92 | logstashServiceName: log-ls |
| 93 | logstashPort: 5044 |
| 94 | mysqlPassword: strong_pitchou |
| 95 | dataRootDir: /dockerdata-nfs |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 96 | |
| 97 | # default number of instances |
| 98 | replicaCount: 1 |
| 99 | |
| 100 | nodeSelector: {} |
| 101 | |
| 102 | affinity: {} |
| 103 | |
| 104 | # probe configuration parameters |
| 105 | liveness: |
| 106 | initialDelaySeconds: 120 |
| 107 | periodSeconds: 10 |
| 108 | # necessary to disable liveness probe when setting breakpoints |
| 109 | # in debugger so K8s doesn't restart unresponsive container |
| 110 | enabled: true |
| 111 | |
| 112 | readiness: |
| 113 | initialDelaySeconds: 10 |
| 114 | periodSeconds: 10 |
| 115 | |
| 116 | |
| 117 | service: |
| 118 | type: ClusterIP |
| 119 | name: clamp-backend |
| 120 | portName: clamp-backend |
| 121 | internalPort: 8443 |
| 122 | externalPort: 443 |
| 123 | |
| 124 | ingress: |
| 125 | enabled: false |
| 126 | |
| 127 | #resources: {} |
| 128 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 129 | # choice for the user. This also increases chances charts run on environments with little |
| 130 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 131 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 132 | # |
| 133 | # Example: |
| 134 | # Configure resource requests and limits |
| 135 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 136 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 137 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 138 | resources: |
| 139 | small: |
| 140 | limits: |
| 141 | cpu: 1 |
| 142 | memory: 1.2Gi |
| 143 | requests: |
| 144 | cpu: 10m |
| 145 | memory: 800Mi |
| 146 | large: |
| 147 | limits: |
| 148 | cpu: 1 |
| 149 | memory: 1.2Gi |
| 150 | requests: |
| 151 | cpu: 10m |
| 152 | memory: 800Mi |
| 153 | unlimited: {} |